org.omg.DynamicAny
Class _DynAnyFactoryStub

java.lang.Object
  extended by org.omg.CORBA.portable.ObjectImpl
      extended by org.omg.DynamicAny._DynAnyFactoryStub
All Implemented Interfaces:
Serializable, Object, IDLEntity, DynAnyFactory, DynAnyFactoryOperations

public class _DynAnyFactoryStub
extends ObjectImpl
implements DynAnyFactory, Serializable

Should provide support for remote invocation of methods on DynAnyFactory. As DynAny can never be remote at least till 1.5 inclusive, this class is not in use. DynAnyFactory should be obtained from the ORB.resolve_initial_references(java.lang.String).

See Also:
Serialized Form

Field Summary
static Class _opsClass
          The purpose and value of this field are not documented.
 
Constructor Summary
_DynAnyFactoryStub()
          Create the DynAnyFactory stub.
 
Method Summary
 String[] _ids()
          Return the array of repository ids for this object.
 DynAny create_dyn_any_from_type_code(TypeCode _0)
          The remote call of this DynAnyFactory method is not possible (the created DynAny would not be transferred to client).
 DynAny create_dyn_any(Any _0)
          The remote call of this DynAnyFactory method is not possible (the created DynAny would not be transferred to client).
 
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
 

Field Detail

_opsClass

public static final Class _opsClass
The purpose and value of this field are not documented.

Constructor Detail

_DynAnyFactoryStub

public _DynAnyFactoryStub()
Create the DynAnyFactory stub.

Method Detail

_ids

public String[] _ids()
Return the array of repository ids for this object.

Specified by:
_ids in class ObjectImpl

create_dyn_any

public DynAny create_dyn_any(Any _0)
                      throws InconsistentTypeCode
The remote call of this DynAnyFactory method is not possible (the created DynAny would not be transferred to client).

Specified by:
create_dyn_any in interface DynAnyFactoryOperations
Parameters:
_0 - the Any, providing type and value for the DynAny being created.
Returns:
the created DynAny, having the same type and storing the same value as the passed Any.
Throws:
MARSHAL, - always.
InconsistentTypeCode - if value.type().kind() is tk_Principal, tk_native or tk_abstract_interface. These types cannot be stored in DynAny.

create_dyn_any_from_type_code

public DynAny create_dyn_any_from_type_code(TypeCode _0)
                                     throws InconsistentTypeCode
The remote call of this DynAnyFactory method is not possible (the created DynAny would not be transferred to client).

Specified by:
create_dyn_any_from_type_code in interface DynAnyFactoryOperations
Parameters:
_0 - the type of the data being stored.
Returns:
the created DynAny, having the passed type.
Throws:
MARSHAL, - always.
InconsistentTypeCode - if type.kind() is tk_Principal, tk_native or tk_abstract_interface. These types cannot be stored in DynAny.