public interface Component
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.| Modifier and Type | Method and Description |
|---|---|
void |
construct()
Called by the Manager immediately after the object has been constructed and registered with the Manager.
|
void |
destruct()
Called immediately before the object is destructed.
|
boolean |
doesImplement(java.lang.String type)
Checks if component implements given type.
|
java.lang.Object |
getObject()
Returns implementation of component object.
|
java.lang.String[] |
implementedInterfaces()
Returns list of intefaces implemented by this component.
|
void construct()
throws RemoteException
RemoteExceptionvoid destruct()
throws RemoteException
RemoteExceptionboolean doesImplement(java.lang.String type)
type - implementation of the type to be checked.java.lang.String[] implementedInterfaces()
java.lang.Object getObject()