public interface Container extends Client
| Modifier and Type | Interface and Description |
|---|---|
static interface |
Container.ComponentInfoCompletionCallback |
| Modifier and Type | Method and Description |
|---|---|
void |
activate_component_async(int handle,
long executionId,
java.lang.String name,
java.lang.String exe,
java.lang.String type,
Container.ComponentInfoCompletionCallback callback)
Asynchronous version of activate_component.
|
ComponentInfo |
activate_component(int handle,
long executionId,
java.lang.String name,
java.lang.String exe,
java.lang.String type)
Activate a Component whose type (class) and name (instance) are given.
|
void |
deactivate_component(int handle)
Deactivate a component whose handles is given.
|
ComponentInfo[] |
get_component_info(int[] handles)
Returns information about a subset of components that are currently hosted by the Container.
|
int |
get_handle()
Get the Container handle give by the Managert at login.
|
Component |
restart_component(int handle)
Restarts a component.
|
void |
set_component_shutdown_order(int[] handles)
Set component shutdown order.
|
void |
shutdown(int action)
Shutdown the Container.
|
authenticate, components_available, components_unavailable, disconnect, getRemoteLocation, message, name, ping, release, taggedmessageComponentInfo activate_component(int handle, long executionId, java.lang.String name, java.lang.String exe, java.lang.String type) throws AcsJCannotActivateComponentEx
handle - Handle of the Component that is being activated.
This handle is used by the Component when it will present itself to the Manager.
The Component is expected to remember this handle for its entire life-time.executionId - Execution ID.name - Name of the Component to instantiate.exe - Path to the executable file (a DLL or a shared library) in which the Component's code resides.
The path is relative to the root directory in which all executable code is stored.
The path must not contain dots, and uses slashes (not backslashes) to separate components of the path.
The path must not include the extension, or any prefixes, so that it is platform independent.type - The type of the Component to instantiate. The interpretation of this field depends on the executable.
Type should uniquely identify the code-base which the Component will be executing.
Note: Type name is a CORBA repository ID.AcsJCannotActivateComponentExvoid activate_component_async(int handle,
long executionId,
java.lang.String name,
java.lang.String exe,
java.lang.String type,
Container.ComponentInfoCompletionCallback callback)
void deactivate_component(int handle)
throws AcsJCannotDeactivateComponentEx,
AcsJComponentDeactivationUncleanEx,
AcsJComponentDeactivationFailedEx
handle - A handle identifying a component to be released.AcsJCannotDeactivateComponentExAcsJComponentDeactivationUncleanExAcsJComponentDeactivationFailedExComponentInfo[] get_component_info(int[] handles) throws RemoteException
handles - Handles of the components whose information should be retrieved.RemoteExceptionComponent restart_component(int handle) throws RemoteException
h - handle of the component to be restarted.RemoteExceptionvoid shutdown(int action)
throws RemoteException
Action - to take after shutting down.
Bits 8 through 15 of this parameter denote the action,
which can be one of:
RemoteExceptionvoid set_component_shutdown_order(int[] handles)
throws RemoteException
handles - ordered list of components handles.RemoteExceptionint get_handle()