Voyager ORB

com.objectspace.voyager.corba
Class CorbaObject

java.lang.Object
  |
  +--com.objectspace.voyager.corba.CorbaObject

public final class CorbaObject
extends java.lang.Object

Allows access to the standard CORBA::Object operations.

Version:
3.0

Method Summary
 java.lang.Object _duplicate()
          Return a duplicate reference to my object.
 int _hash(int maximum)
          Return a hash code based on the object I reference between 0 and the specified maximum value.
 boolean _is_a(java.lang.String identifier)
          Return true if the object I reference implements the specified interface.
 boolean _is_equivalent(java.lang.Object that)
          Return true if the object I reference is the same object as the specified object.
 boolean _is_nil()
          Return true if my reference is null.
 boolean _non_existent()
          Return true if the object I reference has been garbage collected.
 void _release()
          Do nothing.
static CorbaObject of(java.lang.Object object)
          Return a CorbaObject associated with the specified object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

_is_nil

public boolean _is_nil()
Return true if my reference is null.

_is_a

public boolean _is_a(java.lang.String identifier)
Return true if the object I reference implements the specified interface.
Parameters:
identifier - The repository id of the type to test against.

_is_equivalent

public boolean _is_equivalent(java.lang.Object that)
Return true if the object I reference is the same object as the specified object.
Parameters:
that - The Object to compare against.

_non_existent

public boolean _non_existent()
Return true if the object I reference has been garbage collected.

_hash

public int _hash(int maximum)
Return a hash code based on the object I reference between 0 and the specified maximum value.
Parameters:
maximum - The maximum value of the hash code.

_duplicate

public java.lang.Object _duplicate()
Return a duplicate reference to my object.

_release

public void _release()
Do nothing.

of

public static CorbaObject of(java.lang.Object object)
                      throws java.lang.ClassCastException
Return a CorbaObject associated with the specified object.
Parameters:
object - Must be a proxy to a local object.

ObjectSpace Inc.

(c) Copyright 1997-1999 ObjectSpace, Inc.
14850 Quorum Drive, Suite 500
Dallas, Texas 75240