Public Member Functions | |
void | construct () throws RemoteException |
void | destruct () throws RemoteException |
boolean | doesImplement (String type) |
String[] | implementedInterfaces () |
Object | getObject () |
Interface contains two methods: construct()
and destruct()
, which Component may choose to implement to allow construction and destruction outside of the constructor/destructor. This is mandatory if a component refers to other components, which could in turn refer back to this component.
|
Called by the Manager immediately after the object has been constructed and registered with the Manager. This is a good place to resolve references to dependent components. Implemented in com::cosylab::acs::maci::manager::ManagerImpl::ServiceComponent, com::cosylab::acs::maci::plug::ComponentProxy, com::cosylab::acs::maci::test::TestComponent, and com::cosylab::acs::maci::test::TestHierarchicalComponent.
|
|
Called immediately before the object is destructed. Here references to other components should be released. After this method completes, the Manager unregisters the component. Implemented in com::cosylab::acs::maci::manager::ManagerImpl::ServiceComponent, com::cosylab::acs::maci::plug::ComponentProxy, com::cosylab::acs::maci::test::TestComponent, and com::cosylab::acs::maci::test::TestHierarchicalComponent.
|
|
Checks if component implements given type.
Implemented in com::cosylab::acs::maci::manager::ManagerImpl::ServiceComponent, com::cosylab::acs::maci::plug::ComponentProxy, and com::cosylab::acs::maci::test::TestComponent.
|
|
Returns implementation of component object.
Implemented in com::cosylab::acs::maci::manager::ManagerImpl::ServiceComponent, com::cosylab::acs::maci::plug::ComponentProxy, and com::cosylab::acs::maci::test::TestComponent.
|
|
Returns list of intefaces implemented by this component.
Implemented in com::cosylab::acs::maci::manager::ManagerImpl::ServiceComponent, com::cosylab::acs::maci::plug::ComponentProxy, and com::cosylab::acs::maci::test::TestComponent.
|