|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface SAService
The web service interface to the remote services available from a strategy agent.
This interface is not meant to be used by the clients of this package.
| Method Summary | |
|---|---|
ModuleURN |
createStrategy(ClientContext inCtx,
CreateStrategyParameters inParameters)
Creates a strategy. |
void |
delete(ClientContext inCtx,
ModuleURN inURN)
Deletes the module with the specified URN. |
List<ModuleURN> |
getInstances(ClientContext inCtx,
ModuleURN inProviderURN)
Returns the list of module instances available at the strategy agent. |
ModuleInfo |
getModuleInfo(ClientContext inCtx,
ModuleURN inURN)
Gets the module info for the module with the specified URN. |
MapWrapper<String,Object> |
getProperties(ClientContext inCtx,
ModuleURN inURN)
Fetches the (MXBean) properties of the module with the specified URN. |
List<ModuleURN> |
getProviders(ClientContext inCtx)
Returns the list of providers available at the strategy agent. |
CreateStrategyParameters |
getStrategyCreateParms(ClientContext inServiceContext,
ModuleURN inURN)
Returns the parameters used to create a strategy. |
void |
sendData(ClientContext inServiceContext,
Object inData)
Sends the given data to the strategy agent. |
MapWrapper<String,Object> |
setProperties(ClientContext inCtx,
ModuleURN inURN,
MapWrapper<String,Object> inProperties)
Sets the properties of the module with the specified URN. |
void |
start(ClientContext inCtx,
ModuleURN inURN)
Starts the module with the specified URN. |
void |
stop(ClientContext inCtx,
ModuleURN inURN)
Stops the module with the specified URN. |
| Method Detail |
|---|
List<ModuleURN> getProviders(ClientContext inCtx)
throws RemoteException
inCtx - the context
RemoteException - if there were errors communicating with the
remote strategy agent.
List<ModuleURN> getInstances(ClientContext inCtx,
ModuleURN inProviderURN)
throws RemoteException
inCtx - the contextinProviderURN - the provider URN. If provided, only the instances
from the specified provider are returned. If null, all the available
instances are returned.
RemoteException - if there were errors communicating with the
remote strategy agent.
ModuleInfo getModuleInfo(ClientContext inCtx,
ModuleURN inURN)
throws RemoteException
inCtx - the context.inURN - the module URN.
RemoteException - if there were errors communicating with the
remote strategy agent.
void start(ClientContext inCtx,
ModuleURN inURN)
throws RemoteException
inCtx - the context.inURN - the module URN.
RemoteException - if there were errors communicating with the
remote strategy agent.
void stop(ClientContext inCtx,
ModuleURN inURN)
throws RemoteException
inCtx - the context.inURN - the module URN.
RemoteException - if there were errors communicating with the
remote strategy agent.
void delete(ClientContext inCtx,
ModuleURN inURN)
throws RemoteException
inCtx - the context.inURN - the module URN.
RemoteException - if there were errors communicating with the
remote strategy agent.
MapWrapper<String,Object> getProperties(ClientContext inCtx,
ModuleURN inURN)
throws RemoteException
inCtx - the context.inURN - the module URN.
RemoteException - if there were errors communicating with the
remote strategy agent.
MapWrapper<String,Object> setProperties(ClientContext inCtx,
ModuleURN inURN,
MapWrapper<String,Object> inProperties)
throws RemoteException
inCtx - the context.inURN - the module URN.inProperties - the module properties that need to be set.
RemoteException - if there were errors communicating with the
remote strategy agent.
ModuleURN createStrategy(ClientContext inCtx,
CreateStrategyParameters inParameters)
throws RemoteException
inCtx - the context.inParameters - the strategy creation parameters.
RemoteException - if there were errors communicating with the
remote strategy agent.
CreateStrategyParameters getStrategyCreateParms(ClientContext inServiceContext,
ModuleURN inURN)
throws RemoteException
inServiceContext - the context.inURN - the strategy module's URN.
RemoteException - if there were errors communicating with the
remote strategy agent.
void sendData(ClientContext inServiceContext,
Object inData)
throws RemoteException
Note that if the type of data sent is not a Java basic type, context for that type must be added to both the client and server.
inServiceContext - a ClientContext valueinData - an Object value
RemoteException - if there were errors communicating with the remote strategy agent.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||