_ObjectRef is a Java interface which declares the implementation methods for the IDL Object interface. OrbixWeb includes a default implementation for this interface. This functionality is supplied by class
CORBA.BaseObjectreaders should refer to this class for a description of the methods defined below.In OrbixWeb, all objects which implement
_ObjectRef hold their own full object reference in their member data. _ObjectRef defines methods to retrieve object reference fields in string format and to convert between object references and strings. The is_nil() operation of IDL interface Object is provided in the CORBA namespace.
// IDL
interface Object {
boolean is_nil();
Object duplicate();
void release();
ImplementationDef get_implementation();
InterfaceDef get_interface();
Status create_request(
in Context ctx,
in Identifier operation,
in NVList arg_list,
in NamedValue result,
out Request request,
in Flags req_flags);
};
// Java
package IE.Iona.Orbix2.CORBA;
public interface Ref extends
IE.Iona.Orbix2.CORBA.IDLCloneable {
// Methods
public boolean _isNull();
public String _host();
public String _implementation();
public String _marker();
public String _interfaceHost();
public String _interfaceImplementation();
public String _interfaceMarker();
public String _get_implementation()
throws IE.Iona.Orbix2.CORBA.SystemException;
public IE.Iona.Orbix2._InterfaceDefRef _get_interface()
throws IE.Iona.Orbix2.CORBA.SystemException;
public String _object_to_string();
public String toString();
public boolean _isRemote();
public IE.Iona.Orbix2.CORBA.Request _request(
String operation);
public int _create_request(
IE.Iona.Orbix2.CORBA.Context ctx,
String operation,
IE.Iona.Orbix2.CORBA.NVList arg_list,
IE.Iona.Orbix2.CORBA.NamedValue result,
IE.Iona.Orbix2.CORBA.RequestHolder hrequest,
IE.Iona.Orbix2.CORBA.Flags req_flags)
throws IE.Iona.Orbix2.CORBA.SystemException;
CORBA.BaseObject