org.omg.CORBA
Class _IDLTypeStub

java.lang.Object
  extended by org.omg.CORBA.portable.ObjectImpl
      extended by org.omg.CORBA._IDLTypeStub
All Implemented Interfaces:
Serializable, IDLType, IDLTypeOperations, IRObject, IRObjectOperations, Object, IDLEntity

public class _IDLTypeStub
extends ObjectImpl
implements IDLType, Serializable

The stub for the IDL type. This stub can be used to access the remote IDL type object, if its IOR is known. To create the working instance with the known IOR, pass gnu.CORBA.IorDelegate to the constructor.

See Also:
Serialized Form

Constructor Summary
_IDLTypeStub()
          Create the instance of the IDL type stub without the set delegate.
_IDLTypeStub(Delegate delegate)
          Create an instance with the given delegate.
 
Method Summary
 String[] _ids()
          Return the array of repository ids of the IDL type.
 DefinitionKind def_kind()
          Get the definition kind of the remote IDL type object.
 void destroy()
          Destroy the remote IDL type object.
 TypeCode type()
          Get the typecode of the remote IDL type 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, _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
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.omg.CORBA.Object
_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface_def, _get_policy, _hash, _is_a, _is_equivalent, _non_existent, _release, _request, _set_policy_override
 

Constructor Detail

_IDLTypeStub

public _IDLTypeStub()
Create the instance of the IDL type stub without the set delegate. The delegate must be set anyway before calling any remote method.


_IDLTypeStub

public _IDLTypeStub(Delegate delegate)
Create an instance with the given delegate.

See Also:
gnu.CORBA.IorDelegate
Method Detail

type

public TypeCode type()
Get the typecode of the remote IDL type object. The method is written following OMG specification, treating the typecode as a read only attribute rather than a method. This means, the operation name is "_get_type".

Specified by:
type in interface IDLTypeOperations
Returns:
a typecode, returned by the remote IDL type object.

def_kind

public DefinitionKind def_kind()
Get the definition kind of the remote IDL type object. The method is written following OMG specification, treating the typecode as a read only attribute rather than a method. This means, the operation name is "_get_def_kind".

Specified by:
def_kind in interface IRObjectOperations
Returns:
a definition kind, returned by remote IDL type object.

destroy

public void destroy()
Destroy the remote IDL type object.

Specified by:
destroy in interface IRObjectOperations

_ids

public String[] _ids()
Return the array of repository ids of the IDL type.

Specified by:
_ids in class ObjectImpl
Returns:
"IDL:omg.org/CORBA/IDLType:1.0" and "IDL:omg.org/CORBA/IRObject:1.0", always.