Interface IRemoteCommandTransport
- All Superinterfaces:
IComponent
,IInitializable
- All Known Subinterfaces:
ICommandManager
This is the implementation for marshalling command invocations to and from servers.
This has pluggable impelentations like:
rmi, http, soap
-
Method Summary
Modifier and TypeMethodDescriptioninvokeRemoteCommand
(IContext context, ICommand command, ICommandBean commandBean, IServer server) Invoke a command on a remote server Some restrictions are: all the properties of the commandBean must be serializable The return value must be serializable.Methods inherited from interface com.webmethods.portal.system.IComponent
getComponentData, getComponentName, getComponentProvider, getURI, isInitialized, setComponentData, setComponentProvider
Methods inherited from interface com.webmethods.portal.system.init.IInitializable
init, shutdown
-
Method Details
-
invokeRemoteCommand
Object invokeRemoteCommand(IContext context, ICommand command, ICommandBean commandBean, IServer server) throws BizException Invoke a command on a remote server Some restrictions are: all the properties of the commandBean must be serializable The return value must be serializable. Note, this will currently use the defaultIRemoteCommandTransport
- Parameters:
context
- the context to invoke the commandcommand
- which command to invokecommandBean
- the args for the commandserver
- which server to contact- Returns:
- Throws:
BizException
-