Class DynamicStubImpl
- java.lang.Object
-
- org.omg.CORBA.portable.ObjectImpl
-
- org.omg.CORBA_2_3.portable.ObjectImpl
-
- com.sun.corba.ee.impl.presentation.rmi.DynamicStubImpl
-
- All Implemented Interfaces:
DynamicStub,java.io.Serializable,Object
public class DynamicStubImpl extends ObjectImpl implements DynamicStub, java.io.Serializable
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private StubIORImpliorprivate DynamicStubselfprivate static longserialVersionUIDprivate java.lang.String[]typeIds
-
Constructor Summary
Constructors Constructor Description DynamicStubImpl(java.lang.String[] typeIds)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String[]_ids()Retrieves a string array containing the repository identifiers supported by thisObjectImplobject.voidconnect(ORB orb)Connect this dynamic stub to an ORB.DelegategetDelegate()Similar to ObjectImpl._get_delegateORBgetORB()Similar to ObjectImpl._orb()DynamicStubgetSelf()java.lang.String[]getTypeIds()Similar to ObjectImpl._idsbooleanisLocal()private voidreadObject(java.io.ObjectInputStream stream)java.lang.ObjectreadResolve()OutputStreamrequest(java.lang.String operation, boolean responseExpected)voidsetDelegate(Delegate delegate)Similar to ObjectImpl._set_delegatevoidsetSelf(DynamicStub self)private voidwriteObject(java.io.ObjectOutputStream stream)-
Methods inherited from class org.omg.CORBA_2_3.portable.ObjectImpl
_get_codebase
-
Methods inherited from class org.omg.CORBA.portable.ObjectImpl
_create_request, _create_request, _duplicate, _get_delegate, _get_domain_managers, _get_interface_def, _get_policy, _hash, _invoke, _is_a, _is_equivalent, _is_local, _non_existent, _orb, _release, _releaseReply, _request, _request, _servant_postinvoke, _servant_preinvoke, _set_delegate, _set_policy_override, equals, hashCode, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.omg.CORBA.Object
_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface_def, _get_policy, _hash, _is_a, _is_equivalent, _non_existent, _release, _request, _set_policy_override
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
typeIds
private java.lang.String[] typeIds
-
ior
private StubIORImpl ior
-
self
private DynamicStub self
-
-
Method Detail
-
setSelf
public void setSelf(DynamicStub self)
-
getSelf
public DynamicStub getSelf()
-
setDelegate
public void setDelegate(Delegate delegate)
Description copied from interface:DynamicStubSimilar to ObjectImpl._set_delegate- Specified by:
setDelegatein interfaceDynamicStub- Parameters:
delegate- delegate to set- See Also:
ObjectImpl._set_delegate(org.omg.CORBA.portable.Delegate)
-
getDelegate
public Delegate getDelegate()
Description copied from interface:DynamicStubSimilar to ObjectImpl._get_delegate- Specified by:
getDelegatein interfaceDynamicStub- Returns:
- Delegate contained
- See Also:
ObjectImpl._get_delegate()
-
getORB
public ORB getORB()
Description copied from interface:DynamicStubSimilar to ObjectImpl._orb()- Specified by:
getORBin interfaceDynamicStub- Returns:
- the ORB instance that created the Delegat
- See Also:
ObjectImpl._orb()
-
_ids
public java.lang.String[] _ids()
Description copied from class:ObjectImplRetrieves a string array containing the repository identifiers supported by thisObjectImplobject. For example, for a stub, this method returns information about all the interfaces supported by the stub.- Specified by:
_idsin classObjectImpl- Returns:
- the array of all repository identifiers supported by this
ObjectImplinstance
-
getTypeIds
public java.lang.String[] getTypeIds()
Description copied from interface:DynamicStubSimilar to ObjectImpl._ids- Specified by:
getTypeIdsin interfaceDynamicStub- Returns:
- the array of all repository identifiers
- See Also:
ObjectImpl._ids()
-
connect
public void connect(ORB orb) throws java.rmi.RemoteException
Description copied from interface:DynamicStubConnect this dynamic stub to an ORB. Just as in standard RMI-IIOP, this is required after a dynamic stub is deserialized from an ObjectInputStream. It is not needed when unmarshalling from a org.omg.CORBA.portable.InputStream.- Specified by:
connectin interfaceDynamicStub- Parameters:
orb- ORB to connect to- Throws:
java.rmi.RemoteException- if unable to connect
-
isLocal
public boolean isLocal()
- Specified by:
isLocalin interfaceDynamicStub
-
request
public OutputStream request(java.lang.String operation, boolean responseExpected)
- Specified by:
requestin interfaceDynamicStub
-
readObject
private void readObject(java.io.ObjectInputStream stream) throws java.io.IOException, java.lang.ClassNotFoundException- Throws:
java.io.IOExceptionjava.lang.ClassNotFoundException
-
writeObject
private void writeObject(java.io.ObjectOutputStream stream) throws java.io.IOException- Throws:
java.io.IOException
-
readResolve
public java.lang.Object readResolve()
-
-