Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

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.

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.

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.

Object com::cosylab::acs::maci::Component::getObject  ) 
 

Returns implementation of component object.

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.

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 on Thu Apr 30 03:11:14 2009 for ACS Java API by doxygen 1.3.8