Class sunw.corba.ObjectStub
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class sunw.corba.ObjectStub

java.lang.Object
   |
   +----sunw.orb.RemoteObjectImpl
           |
           +----sunw.corba.ObjectImpl
                   |
                   +----sunw.corba.ObjectStub

public class ObjectStub
extends ObjectImpl
implements ObjectRef
A base class representing any CORBA object. This is the Java base class for all IDL-defined objects. It implements a set of standard methods which are inherited by all CORBA objects.

CORBA objects are location-transparent meaning that the actual implementation of an IDL-defined object may be located on another machine or in another address space. Specific implementation-level details come from a representation, or subcontract.

See Also:
Representation, BOA, TOF

Constructor Index

 o ObjectStub()
 o ObjectStub(Representation)

Method Index

 o __classInterfaceName()
Return the InterfaceNameDescriptor : includes the IDL name, a string name, and the repository ID
 o __interfaceName()
Return the InterfaceNameDescriptor : includes the IDL name, a string name, and the repository ID
 o createRef()
 o createRef(Representation)
 o duplicate()
Duplicate this CORBA object reference.
 o duplicate(ObjectRef)
Duplicate this CORBA object reference.
 o getInterfaceRepositoryIdentifier()
 o getRepositoryIdentifier()
 o isA(ObjectRef)
 o isA(ObjectRef, InterfaceNameDescriptor)
 o marshalDuplicate(MarshalBuffer)
Marshal this CORBA object  o marshalRelease(MarshalBuffer)
Marshal this CORBA object  o narrow(ObjectRef)
 o unmarshal(MarshalBuffer)
Internal: This constructor should be used only by the JavaNeo runtime.

Constructors

 o ObjectStub
  public ObjectStub()
 o ObjectStub
  public ObjectStub(Representation src)

Methods

 o getRepositoryIdentifier
  public String getRepositoryIdentifier()
 o duplicate
  public ObjectRef duplicate() throws SystemException
Duplicate this CORBA object reference. This operation does not involve the object implementation. It invokes the duplicate operation of its subcontract, and uses it to instantiate a new (duplicate) corba object.
Returns:
A (logical) copy of the current object based on the duplicated subcontract.
Throws: SystemException
One of a fixed set of Corba system exceptions.
 o isA
  public static boolean isA(ObjectRef that) throws SystemException
Throws: SystemException
One of a fixed set of Corba system exceptions.
 o isA
  public static boolean isA(ObjectRef that,
                            InterfaceNameDescriptor destTypeName) throws SystemException
Throws: SystemException
One of a fixed set of Corba system exceptions.
 o narrow
  public static ObjectRef narrow(ObjectRef that)
 o duplicate
  public static ObjectRef duplicate(ObjectRef that) throws SystemException
Duplicate this CORBA object reference. This operation does not involve the object implementation. It invokes the duplicate operation of its subcontract, and uses it to instantiate a new (duplicate) corba object.
Returns:
A (logical) copy of the current object based on the duplicated subcontract.
Throws: SystemException
One of a fixed set of Corba system exceptions.
 o getInterfaceRepositoryIdentifier
  public static String getInterfaceRepositoryIdentifier()
 o createRef
  public static ObjectRef createRef()
 o createRef
  public static ObjectRef createRef(Representation src)
 o unmarshal
  public void unmarshal(MarshalBuffer mb) throws ORBException
Internal: This constructor should be used only by the JavaNeo runtime.

Unmarshal this corba object

Parameters:
mb - The MarshalBuffer to use for unmarshaling.
Overrides:
unmarshal in class RemoteObjectImpl
 o marshalDuplicate
  public void marshalDuplicate(MarshalBuffer mb) throws ORBException
Marshal this CORBA object
Parameters:
mb - The MarshalBuffer to use for marshaling.
Overrides:
marshalDuplicate in class RemoteObjectImpl
 o marshalRelease
  public void marshalRelease(MarshalBuffer mb) throws ORBException
Marshal this CORBA object
Parameters:
mb - The MarshalBuffer to use for marshaling.
Overrides:
marshalRelease in class RemoteObjectImpl
 o __interfaceName
  public InterfaceNameDescriptor __interfaceName()
Return the InterfaceNameDescriptor : includes the IDL name, a string name, and the repository ID
Overrides:
__interfaceName in class RemoteObjectImpl
 o __classInterfaceName
  public static InterfaceNameDescriptor __classInterfaceName()
Return the InterfaceNameDescriptor : includes the IDL name, a string name, and the repository ID

All Packages  Class Hierarchy  This Package  Previous  Next  Index