org.omg.CORBA_2_3.portable

Class ObjectImpl

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.
Method Summary
String_get_codebase()
Returns the codebase for the provided object reference.

Method Detail

_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 {@link org.omg.CORBA_2_3.portable.Delegate#get_codebase}.

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.