
Public Member Functions | |
| void | construct () throws RemoteException |
| void | destruct () throws RemoteException |
| boolean | doesImplement (String type) |
| String[] | implementedInterfaces () |
| Object | getObject () |
Component interface.
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.
| void com::cosylab::acs::maci::Component::construct | ( | ) | throws RemoteException |
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.
Referenced by com::cosylab::acs::maci::manager::ManagerImpl::internalNoSyncRequestComponent().
| void com::cosylab::acs::maci::Component::destruct | ( | ) | throws RemoteException |
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.
Referenced by com::cosylab::acs::maci::manager::ManagerImpl::internalNoSyncDeactivateComponent().
| boolean com::cosylab::acs::maci::Component::doesImplement | ( | String | type | ) |
Checks if component implements given type.
| type | implementation of the type to be checked. |
true if component implements type type, otherwise false. Implemented in com::cosylab::acs::maci::manager::ManagerImpl::ServiceComponent, com::cosylab::acs::maci::plug::ComponentProxy, and com::cosylab::acs::maci::test::TestComponent.
Referenced by com::cosylab::acs::maci::manager::ManagerImpl::internalNoSyncRequestComponent().
| Object com::cosylab::acs::maci::Component::getObject | ( | ) |
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.
Referenced by com::cosylab::acs::maci::plug::ManagerProxyImpl::get_collocated_component(), com::cosylab::acs::maci::plug::ManagerProxyImpl::get_component(), com::cosylab::acs::maci::plug::ManagerProxyImpl::get_component_non_sticky(), com::cosylab::acs::maci::plug::ManagerProxyImpl::get_default_component(), com::cosylab::acs::maci::plug::ManagerProxyImpl::get_dynamic_component(), com::cosylab::acs::maci::plug::ManagerProxyImpl::get_service(), com::cosylab::acs::maci::manager::ManagerImpl::getComponent(), com::cosylab::acs::maci::manager::ManagerImpl::getComponentNonSticky(), com::cosylab::acs::maci::manager::ManagerImpl::internalNoSyncRequestComponent(), and com::cosylab::acs::maci::plug::ManagerProxyImpl::restart_component().
| String [] com::cosylab::acs::maci::Component::implementedInterfaces | ( | ) |
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.
1.6.2