com::cosylab::acs::maci::Component Interface Reference

Inheritance diagram for com::cosylab::acs::maci::Component:
Inheritance graph
[legend]

List of all members.

Public Member Functions

void construct () throws RemoteException
void destruct () throws RemoteException
boolean doesImplement (String type)
String[] implementedInterfaces ()
Object getObject ()

Detailed Description

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.

Author:
Matej Sekoranja (matej.sekoranja@cosylab.com)
Version:
@VERSION@

Member Function Documentation

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.

Parameters:
type implementation of the type to be checked.
Returns:
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 (  ) 
String [] com::cosylab::acs::maci::Component::implementedInterfaces (  ) 

Returns list of intefaces implemented by this component.

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.


The documentation for this interface was generated from the following file:

Generated by  doxygen 1.6.2