org.omg.CORBA_2_3.portable
Class ObjectImpl
java.lang.Object
org.omg.CORBA.portable.ObjectImpl
org.omg.CORBA_2_3.portable.ObjectImpl
- All Implemented Interfaces:
- Object
- Direct Known Subclasses:
- Stub
public abstract class ObjectImpl
- extends ObjectImpl
Extends the previous version of the CORBA object by one additional method,
defined in CORBA 2_3 . See ancestor for details about the CORBA object.
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, _ids, _invoke, _is_a, _is_equivalent, _is_local, _non_existent, _orb, _release, _releaseReply, _request, _request, _servant_postinvoke, _servant_preinvoke, _set_delegate, _set_policy_override, equals, toString |
ObjectImpl
public ObjectImpl()
_get_codebase
public String _get_codebase()
- Returns the codebase for the provided object reference.
A codebase is a location information (for instance, URL), specifying,
where the missing parts of the object code can be downloaded. This
is important for the value type objects that handle they method calls
locally and hence must have the local copy of the implementing code.
This implementation expects that the object delegate is set and is
an instance of the org.omg.CORBA_2_3.portable.Delegate. If casts
the set delegate to the given type and invokes
Delegate.get_codebase(org.omg.CORBA.Object)
.
- Returns:
- normally, an agreed location information, specifying, where
the supporting code (like java classes) can be found.
- Throws:
BAD_OPERATION
- if the object delegate is not an instance
of org.omg.CORBA_2_3.portable.Delegate.