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 StubIORImpl
ior
private DynamicStub
self
private static long
serialVersionUID
private 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 thisObjectImpl
object.void
connect(ORB orb)
Connect this dynamic stub to an ORB.Delegate
getDelegate()
Similar to ObjectImpl._get_delegateORB
getORB()
Similar to ObjectImpl._orb()DynamicStub
getSelf()
java.lang.String[]
getTypeIds()
Similar to ObjectImpl._idsboolean
isLocal()
private void
readObject(java.io.ObjectInputStream stream)
java.lang.Object
readResolve()
OutputStream
request(java.lang.String operation, boolean responseExpected)
void
setDelegate(Delegate delegate)
Similar to ObjectImpl._set_delegatevoid
setSelf(DynamicStub self)
private void
writeObject(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:DynamicStub
Similar to ObjectImpl._set_delegate- Specified by:
setDelegate
in interfaceDynamicStub
- Parameters:
delegate
- delegate to set- See Also:
ObjectImpl._set_delegate(org.omg.CORBA.portable.Delegate)
-
getDelegate
public Delegate getDelegate()
Description copied from interface:DynamicStub
Similar to ObjectImpl._get_delegate- Specified by:
getDelegate
in interfaceDynamicStub
- Returns:
- Delegate contained
- See Also:
ObjectImpl._get_delegate()
-
getORB
public ORB getORB()
Description copied from interface:DynamicStub
Similar to ObjectImpl._orb()- Specified by:
getORB
in interfaceDynamicStub
- Returns:
- the ORB instance that created the Delegat
- See Also:
ObjectImpl._orb()
-
_ids
public java.lang.String[] _ids()
Description copied from class:ObjectImpl
Retrieves a string array containing the repository identifiers supported by thisObjectImpl
object. For example, for a stub, this method returns information about all the interfaces supported by the stub.- Specified by:
_ids
in classObjectImpl
- Returns:
- the array of all repository identifiers supported by this
ObjectImpl
instance
-
getTypeIds
public java.lang.String[] getTypeIds()
Description copied from interface:DynamicStub
Similar to ObjectImpl._ids- Specified by:
getTypeIds
in 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:DynamicStub
Connect 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:
connect
in interfaceDynamicStub
- Parameters:
orb
- ORB to connect to- Throws:
java.rmi.RemoteException
- if unable to connect
-
isLocal
public boolean isLocal()
- Specified by:
isLocal
in interfaceDynamicStub
-
request
public OutputStream request(java.lang.String operation, boolean responseExpected)
- Specified by:
request
in interfaceDynamicStub
-
readObject
private void readObject(java.io.ObjectInputStream stream) throws java.io.IOException, java.lang.ClassNotFoundException
- Throws:
java.io.IOException
java.lang.ClassNotFoundException
-
writeObject
private void writeObject(java.io.ObjectOutputStream stream) throws java.io.IOException
- Throws:
java.io.IOException
-
readResolve
public java.lang.Object readResolve()
-
-