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
-
ObjectStub()
-
-
ObjectStub(Representation)
-
-
__classInterfaceName()
-
Return the InterfaceNameDescriptor : includes the IDL name, a string name, and
the repository ID
-
__interfaceName()
-
Return the InterfaceNameDescriptor : includes the IDL name, a string name, and
the repository ID
-
createRef()
-
-
createRef(Representation)
-
-
duplicate()
- Duplicate this CORBA object reference.
-
duplicate(ObjectRef)
- Duplicate this CORBA object reference.
-
getInterfaceRepositoryIdentifier()
-
-
getRepositoryIdentifier()
-
-
isA(ObjectRef)
-
-
isA(ObjectRef, InterfaceNameDescriptor)
-
-
marshalDuplicate(MarshalBuffer)
- Marshal this CORBA object
marshalRelease(MarshalBuffer)
- Marshal this CORBA object
narrow(ObjectRef)
-
-
unmarshal(MarshalBuffer)
-
Internal:
This constructor should be used only by the JavaNeo runtime.
ObjectStub
public ObjectStub()
ObjectStub
public ObjectStub(Representation src)
getRepositoryIdentifier
public String getRepositoryIdentifier()
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.
isA
public static boolean isA(ObjectRef that) throws SystemException
- Throws: SystemException
- One of a fixed set of Corba system exceptions.
isA
public static boolean isA(ObjectRef that,
InterfaceNameDescriptor destTypeName) throws SystemException
- Throws: SystemException
- One of a fixed set of Corba system exceptions.
narrow
public static ObjectRef narrow(ObjectRef that)
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.
getInterfaceRepositoryIdentifier
public static String getInterfaceRepositoryIdentifier()
createRef
public static ObjectRef createRef()
createRef
public static ObjectRef createRef(Representation src)
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
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
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
__interfaceName
public InterfaceNameDescriptor __interfaceName()
- Return the InterfaceNameDescriptor : includes the IDL name, a string name, and
the repository ID
- Overrides:
- __interfaceName in class RemoteObjectImpl
__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