public class ComponentProxy extends CORBAReferenceSerializator implements Component, java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
ior
Cached serialized reference.
|
| Constructor and Description |
|---|
ComponentProxy(org.omg.CORBA.Object reference)
Construct an implementaiton of Component.
|
ComponentProxy(java.lang.String name,
org.omg.CORBA.Object reference)
Construct an implementaiton of 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 the object.
|
java.lang.String[] |
implementedInterfaces()
Returns list of intefaces implemented by this component.
|
java.lang.String |
toString()
Returns a single-line rendition of this instance into text.
|
deserialize, getOrb, serialize, setOrbpublic ComponentProxy(org.omg.CORBA.Object reference)
reference - CORBA reference of Component, non-nullpublic ComponentProxy(java.lang.String name,
org.omg.CORBA.Object reference)
name - name of the Component.reference - CORBA reference of Component, non-nullpublic boolean doesImplement(java.lang.String type)
ComponentdoesImplement in interface Componenttype - implementation of the type to be checked.Component.doesImplement(String)public void construct()
throws RemoteException
Componentconstruct in interface ComponentRemoteExceptionComponent.construct()public void destruct()
throws RemoteException
Componentdestruct in interface ComponentRemoteExceptionComponent.destruct()public java.lang.String[] implementedInterfaces()
ComponentimplementedInterfaces in interface ComponentComponent.implementedInterfaces()public java.lang.Object getObject()
public java.lang.String toString()
toString in class java.lang.Object