Public Member Functions

com.cosylab.acs.maci.Component Interface Reference

Inheritance diagram for com.cosylab.acs.maci.Component:
com.cosylab.acs.maci.manager.ManagerImpl.ServiceComponent com.cosylab.acs.maci.plug.ComponentProxy

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.

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.

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.

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.


The documentation for this interface was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations Properties