Public Member Functions | |
ComponentInfo | activate_component (int handle, long executionId, String name, String exe, String type) throws RemoteException |
void | deactivate_components (int[] handles) throws RemoteException |
ComponentInfo[] | get_component_info (int[] handles) throws RemoteException |
Component | restart_component (int handle) throws RemoteException |
void | shutdown (int action) throws RemoteException |
void | set_component_shutdown_order (int[] handles) throws RemoteException |
|
Activate a Component whose type (class) and name (instance) are given. In the process of activation, Component's code-base is loaded into memory if it is not there already. The code-base resides in an executable file (usually a dynamic-link library or a shared library -- DLL). On platforms that do not automatically load dependent executables (e.g., VxWorks), the Container identifies the dependancies by querying the executable and loads them automatically. Once the code is loaded, it is asked to construct a servant of a given type. The servant is then initialized with the Configuration Database (CDB) and Persistance Database (PDB) data. The servant is attached to the Component, and a reference to it is returned.
Implemented in com::cosylab::acs::maci::plug::ContainerProxy, com::cosylab::acs::maci::test::TestContainer, and com::cosylab::acs::maci::test::TestDynamicContainer.
|
|
Deactivate all components whose handles are given. Deactivation is the inverse process of activation: Component is detached from the POA, and thus made unavailable through CORBA, and its resources are freed. If it's code-base is no longer used, it is unloaded from memory.
Implemented in com::cosylab::acs::maci::plug::ContainerProxy, and com::cosylab::acs::maci::test::TestContainer.
|
|
Returns information about a subset of components that are currently hosted by the Container. Note: If the list of handles is empty, information about all components hosted by the container is returned.
Implemented in com::cosylab::acs::maci::plug::ContainerProxy, and com::cosylab::acs::maci::test::TestContainer.
|
|
Restarts a component.
Implemented in com::cosylab::acs::maci::plug::ContainerProxy, and com::cosylab::acs::maci::test::TestContainer.
|
|
Set component shutdown order.
Implemented in com::cosylab::acs::maci::plug::ContainerProxy, and com::cosylab::acs::maci::test::TestContainer.
|
|
Shutdown the Container.
Implemented in com::cosylab::acs::maci::plug::ContainerProxy, com::cosylab::acs::maci::test::TestContainer, and com::cosylab::acs::maci::test::TestDynamicContainer.
|