org.omg.CORBA.portable
Class ObjectImpl

java.lang.Object sample code for java.lang.Object definition code for java.lang.Object 
  extended by org.omg.CORBA.portable.ObjectImpl
All Implemented Interfaces:
Object sample code for org.omg.CORBA.Object definition code for org.omg.CORBA.Object
Direct Known Subclasses:
_BindingIteratorStub sample code for org.omg.CosNaming._BindingIteratorStub definition code for org.omg.CosNaming._BindingIteratorStub , _DynAnyFactoryStub sample code for org.omg.DynamicAny._DynAnyFactoryStub definition code for org.omg.DynamicAny._DynAnyFactoryStub , _DynAnyStub sample code for org.omg.DynamicAny._DynAnyStub definition code for org.omg.DynamicAny._DynAnyStub , _DynArrayStub sample code for org.omg.DynamicAny._DynArrayStub definition code for org.omg.DynamicAny._DynArrayStub , _DynEnumStub sample code for org.omg.DynamicAny._DynEnumStub definition code for org.omg.DynamicAny._DynEnumStub , _DynFixedStub sample code for org.omg.DynamicAny._DynFixedStub definition code for org.omg.DynamicAny._DynFixedStub , _DynSequenceStub sample code for org.omg.DynamicAny._DynSequenceStub definition code for org.omg.DynamicAny._DynSequenceStub , _DynStructStub sample code for org.omg.DynamicAny._DynStructStub definition code for org.omg.DynamicAny._DynStructStub , _DynUnionStub sample code for org.omg.DynamicAny._DynUnionStub definition code for org.omg.DynamicAny._DynUnionStub , _DynValueStub sample code for org.omg.DynamicAny._DynValueStub definition code for org.omg.DynamicAny._DynValueStub , _IDLTypeStub sample code for org.omg.CORBA._IDLTypeStub definition code for org.omg.CORBA._IDLTypeStub , _NamingContextExtStub sample code for org.omg.CosNaming._NamingContextExtStub definition code for org.omg.CosNaming._NamingContextExtStub , _NamingContextStub sample code for org.omg.CosNaming._NamingContextStub definition code for org.omg.CosNaming._NamingContextStub , _PolicyStub sample code for org.omg.CORBA._PolicyStub definition code for org.omg.CORBA._PolicyStub , _ServantActivatorStub sample code for org.omg.PortableServer._ServantActivatorStub definition code for org.omg.PortableServer._ServantActivatorStub , _ServantLocatorStub sample code for org.omg.PortableServer._ServantLocatorStub definition code for org.omg.PortableServer._ServantLocatorStub , DynamicImplementation sample code for org.omg.CORBA.DynamicImplementation definition code for org.omg.CORBA.DynamicImplementation , ObjectImpl sample code for org.omg.CORBA_2_3.portable.ObjectImpl definition code for org.omg.CORBA_2_3.portable.ObjectImpl

public abstract class ObjectImpl
extends Object sample code for java.lang.Object definition code for java.lang.Object
implements Object sample code for org.omg.CORBA.Object definition code for org.omg.CORBA.Object

The common base class for all stub classes; provides default implementations of the org.omg.CORBA.Object methods. All method implementations are forwarded to a Delegate object stored in the ObjectImpl instance. ObjectImpl allows for portable stubs because the Delegate can be implemented by a different vendor-specific ORB.


Constructor Summary
ObjectImpl sample code for org.omg.CORBA.portable.ObjectImpl.ObjectImpl() definition code for org.omg.CORBA.portable.ObjectImpl.ObjectImpl() ()
           
 
Method Summary
 Request sample code for org.omg.CORBA.Request definition code for org.omg.CORBA.Request _create_request sample code for org.omg.CORBA.portable.ObjectImpl._create_request(org.omg.CORBA.Context, java.lang.String, org.omg.CORBA.NVList, org.omg.CORBA.NamedValue) definition code for org.omg.CORBA.portable.ObjectImpl._create_request(org.omg.CORBA.Context, java.lang.String, org.omg.CORBA.NVList, org.omg.CORBA.NamedValue) (Context sample code for org.omg.CORBA.Context definition code for org.omg.CORBA.Context  ctx, String sample code for java.lang.String definition code for java.lang.String  operation, NVList sample code for org.omg.CORBA.NVList definition code for org.omg.CORBA.NVList  arg_list, NamedValue sample code for org.omg.CORBA.NamedValue definition code for org.omg.CORBA.NamedValue  result)
          Creates a Request object that contains the given context, method, argument list, and container for the result.
 Request sample code for org.omg.CORBA.Request definition code for org.omg.CORBA.Request _create_request sample code for org.omg.CORBA.portable.ObjectImpl._create_request(org.omg.CORBA.Context, java.lang.String, org.omg.CORBA.NVList, org.omg.CORBA.NamedValue, org.omg.CORBA.ExceptionList, org.omg.CORBA.ContextList) definition code for org.omg.CORBA.portable.ObjectImpl._create_request(org.omg.CORBA.Context, java.lang.String, org.omg.CORBA.NVList, org.omg.CORBA.NamedValue, org.omg.CORBA.ExceptionList, org.omg.CORBA.ContextList) (Context sample code for org.omg.CORBA.Context definition code for org.omg.CORBA.Context  ctx, String sample code for java.lang.String definition code for java.lang.String  operation, NVList sample code for org.omg.CORBA.NVList definition code for org.omg.CORBA.NVList  arg_list, NamedValue sample code for org.omg.CORBA.NamedValue definition code for org.omg.CORBA.NamedValue  result, ExceptionList sample code for org.omg.CORBA.ExceptionList definition code for org.omg.CORBA.ExceptionList  exceptions, ContextList sample code for org.omg.CORBA.ContextList definition code for org.omg.CORBA.ContextList  contexts)
          Creates a Request object that contains the given context, method, argument list, container for the result, exceptions, and list of property names to be used in resolving the context strings.
 Object sample code for org.omg.CORBA.Object definition code for org.omg.CORBA.Object _duplicate sample code for org.omg.CORBA.portable.ObjectImpl._duplicate() definition code for org.omg.CORBA.portable.ObjectImpl._duplicate() ()
          Returns a duplicate of this ObjectImpl object.
 Delegate sample code for org.omg.CORBA.portable.Delegate definition code for org.omg.CORBA.portable.Delegate _get_delegate sample code for org.omg.CORBA.portable.ObjectImpl._get_delegate() definition code for org.omg.CORBA.portable.ObjectImpl._get_delegate() ()
          Retrieves the reference to the vendor-specific Delegate object to which this ObjectImpl object delegates all methods invoked on it.
 DomainManager sample code for org.omg.CORBA.DomainManager definition code for org.omg.CORBA.DomainManager [] _get_domain_managers sample code for org.omg.CORBA.portable.ObjectImpl._get_domain_managers() definition code for org.omg.CORBA.portable.ObjectImpl._get_domain_managers() ()
          Retrieves a list of the domain managers for this ObjectImpl object.
 Object sample code for org.omg.CORBA.Object definition code for org.omg.CORBA.Object _get_interface_def sample code for org.omg.CORBA.portable.ObjectImpl._get_interface_def() definition code for org.omg.CORBA.portable.ObjectImpl._get_interface_def() ()
          Retrieves the interface definition for this ObjectImpl object.
 Policy sample code for org.omg.CORBA.Policy definition code for org.omg.CORBA.Policy _get_policy sample code for org.omg.CORBA.portable.ObjectImpl._get_policy(int) definition code for org.omg.CORBA.portable.ObjectImpl._get_policy(int) (int policy_type)
          Retrieves the Policy object for this ObjectImpl object that has the given policy type.
 int _hash sample code for org.omg.CORBA.portable.ObjectImpl._hash(int) definition code for org.omg.CORBA.portable.ObjectImpl._hash(int) (int maximum)
          Retrieves the hash code that serves as an ORB-internal identifier for this ObjectImpl object.
abstract  String sample code for java.lang.String definition code for java.lang.String [] _ids sample code for org.omg.CORBA.portable.ObjectImpl._ids() definition code for org.omg.CORBA.portable.ObjectImpl._ids() ()
          Retrieves a string array containing the repository identifiers supported by this ObjectImpl object.
 InputStream sample code for org.omg.CORBA.portable.InputStream definition code for org.omg.CORBA.portable.InputStream _invoke sample code for org.omg.CORBA.portable.ObjectImpl._invoke(org.omg.CORBA.portable.OutputStream) definition code for org.omg.CORBA.portable.ObjectImpl._invoke(org.omg.CORBA.portable.OutputStream) (OutputStream sample code for org.omg.CORBA.portable.OutputStream definition code for org.omg.CORBA.portable.OutputStream  output)
          Invokes an operation and returns an InputStream object for reading the response.
 boolean _is_a sample code for org.omg.CORBA.portable.ObjectImpl._is_a(java.lang.String) definition code for org.omg.CORBA.portable.ObjectImpl._is_a(java.lang.String) (String sample code for java.lang.String definition code for java.lang.String  repository_id)
          Checks whether the object identified by the given repository identifier is an ObjectImpl object.
 boolean _is_equivalent sample code for org.omg.CORBA.portable.ObjectImpl._is_equivalent(org.omg.CORBA.Object) definition code for org.omg.CORBA.portable.ObjectImpl._is_equivalent(org.omg.CORBA.Object) (Object sample code for org.omg.CORBA.Object definition code for org.omg.CORBA.Object  that)
          Checks whether the the given ObjectImpl object is equivalent to this ObjectImpl object.
 boolean _is_local sample code for org.omg.CORBA.portable.ObjectImpl._is_local() definition code for org.omg.CORBA.portable.ObjectImpl._is_local() ()
          Checks whether this ObjectImpl object is implemented by a local servant.
 boolean _non_existent sample code for org.omg.CORBA.portable.ObjectImpl._non_existent() definition code for org.omg.CORBA.portable.ObjectImpl._non_existent() ()
          Checks whether the server object for this ObjectImpl object has been destroyed.
 ORB sample code for org.omg.CORBA.ORB definition code for org.omg.CORBA.ORB _orb sample code for org.omg.CORBA.portable.ObjectImpl._orb() definition code for org.omg.CORBA.portable.ObjectImpl._orb() ()
          Returns a reference to the ORB associated with this object and its delegate.
 void _release sample code for org.omg.CORBA.portable.ObjectImpl._release() definition code for org.omg.CORBA.portable.ObjectImpl._release() ()
          Releases the resources associated with this ObjectImpl object.
 void _releaseReply sample code for org.omg.CORBA.portable.ObjectImpl._releaseReply(org.omg.CORBA.portable.InputStream) definition code for org.omg.CORBA.portable.ObjectImpl._releaseReply(org.omg.CORBA.portable.InputStream) (InputStream sample code for org.omg.CORBA.portable.InputStream definition code for org.omg.CORBA.portable.InputStream  input)
          Releases the given reply stream back to the ORB when unmarshalling has completed after a call to the method _invoke.
 Request sample code for org.omg.CORBA.Request definition code for org.omg.CORBA.Request _request sample code for org.omg.CORBA.portable.ObjectImpl._request(java.lang.String) definition code for org.omg.CORBA.portable.ObjectImpl._request(java.lang.String) (String sample code for java.lang.String definition code for java.lang.String  operation)
          Creates a Request object containing the given method that can be used with the Dynamic Invocation Interface.
 OutputStream sample code for org.omg.CORBA.portable.OutputStream definition code for org.omg.CORBA.portable.OutputStream _request sample code for org.omg.CORBA.portable.ObjectImpl._request(java.lang.String, boolean) definition code for org.omg.CORBA.portable.ObjectImpl._request(java.lang.String, boolean) (String sample code for java.lang.String definition code for java.lang.String  operation, boolean responseExpected)
          Returns an OutputStream object to use for marshalling the arguments of the given method.
 void _servant_postinvoke sample code for org.omg.CORBA.portable.ObjectImpl._servant_postinvoke(org.omg.CORBA.portable.ServantObject) definition code for org.omg.CORBA.portable.ObjectImpl._servant_postinvoke(org.omg.CORBA.portable.ServantObject) (ServantObject sample code for org.omg.CORBA.portable.ServantObject definition code for org.omg.CORBA.portable.ServantObject  servant)
          Is called by the local stub after it has invoked an operation on the local servant that was previously retrieved from a call to the method _servant_preinvoke.
 ServantObject sample code for org.omg.CORBA.portable.ServantObject definition code for org.omg.CORBA.portable.ServantObject _servant_preinvoke sample code for org.omg.CORBA.portable.ObjectImpl._servant_preinvoke(java.lang.String, java.lang.Class) definition code for org.omg.CORBA.portable.ObjectImpl._servant_preinvoke(java.lang.String, java.lang.Class) (String sample code for java.lang.String definition code for java.lang.String  operation, Class sample code for java.lang.Class definition code for java.lang.Class  expectedType)
          Returns a Java reference to the local servant that should be used for sending a request for the method specified.
 void _set_delegate sample code for org.omg.CORBA.portable.ObjectImpl._set_delegate(org.omg.CORBA.portable.Delegate) definition code for org.omg.CORBA.portable.ObjectImpl._set_delegate(org.omg.CORBA.portable.Delegate) (Delegate sample code for org.omg.CORBA.portable.Delegate definition code for org.omg.CORBA.portable.Delegate  delegate)
          Sets the Delegate for this ObjectImpl instance to the given Delegate object.
 Object sample code for org.omg.CORBA.Object definition code for org.omg.CORBA.Object _set_policy_override sample code for org.omg.CORBA.portable.ObjectImpl._set_policy_override(org.omg.CORBA.Policy[], org.omg.CORBA.SetOverrideType) definition code for org.omg.CORBA.portable.ObjectImpl._set_policy_override(org.omg.CORBA.Policy[], org.omg.CORBA.SetOverrideType) (Policy sample code for org.omg.CORBA.Policy definition code for org.omg.CORBA.Policy [] policies, SetOverrideType sample code for org.omg.CORBA.SetOverrideType definition code for org.omg.CORBA.SetOverrideType  set_add)
          Sets this ObjectImpl object's override type for the given policies to the given instance of SetOverrideType.
 boolean equals sample code for org.omg.CORBA.portable.ObjectImpl.equals(java.lang.Object) definition code for org.omg.CORBA.portable.ObjectImpl.equals(java.lang.Object) (Object sample code for java.lang.Object definition code for java.lang.Object  obj)
          Compares this ObjectImpl object with the given one for equality.
 int hashCode sample code for org.omg.CORBA.portable.ObjectImpl.hashCode() definition code for org.omg.CORBA.portable.ObjectImpl.hashCode() ()
          Returns the hash code for this ObjectImpl object.
 String sample code for java.lang.String definition code for java.lang.String toString sample code for org.omg.CORBA.portable.ObjectImpl.toString() definition code for org.omg.CORBA.portable.ObjectImpl.toString() ()
          Returns a String object that represents this ObjectImpl object.
 
Methods inherited from class java.lang.Object sample code for java.lang.Object definition code for java.lang.Object
clone sample code for java.lang.Object.clone() definition code for java.lang.Object.clone() , finalize sample code for java.lang.Object.finalize() definition code for java.lang.Object.finalize() , getClass sample code for java.lang.Object.getClass() definition code for java.lang.Object.getClass() , notify sample code for java.lang.Object.notify() definition code for java.lang.Object.notify() , notifyAll sample code for java.lang.Object.notifyAll() definition code for java.lang.Object.notifyAll() , wait sample code for java.lang.Object.wait() definition code for java.lang.Object.wait() , wait sample code for java.lang.Object.wait(long) definition code for java.lang.Object.wait(long) , wait sample code for java.lang.Object.wait(long, int) definition code for java.lang.Object.wait(long, int)
 

Constructor Detail

ObjectImpl sample code for org.omg.CORBA.portable.ObjectImpl() definition code for org.omg.CORBA.portable.ObjectImpl()

public ObjectImpl()
Method Detail

_get_delegate sample code for org.omg.CORBA.portable.ObjectImpl._get_delegate() definition code for org.omg.CORBA.portable.ObjectImpl._get_delegate()

public Delegate sample code for org.omg.CORBA.portable.Delegate definition code for org.omg.CORBA.portable.Delegate  _get_delegate()
Retrieves the reference to the vendor-specific Delegate object to which this ObjectImpl object delegates all methods invoked on it.

Returns:
the Delegate contained in this ObjectImpl instance
Throws:
BAD_OPERATION sample code for org.omg.CORBA.BAD_OPERATION definition code for org.omg.CORBA.BAD_OPERATION - if the delegate has not been set
See Also:
_set_delegate(org.omg.CORBA.portable.Delegate) sample code for org.omg.CORBA.portable.ObjectImpl._set_delegate(org.omg.CORBA.portable.Delegate) definition code for org.omg.CORBA.portable.ObjectImpl._set_delegate(org.omg.CORBA.portable.Delegate)

_set_delegate sample code for org.omg.CORBA.portable.ObjectImpl._set_delegate(org.omg.CORBA.portable.Delegate) definition code for org.omg.CORBA.portable.ObjectImpl._set_delegate(org.omg.CORBA.portable.Delegate)

public void _set_delegate(Delegate sample code for org.omg.CORBA.portable.Delegate definition code for org.omg.CORBA.portable.Delegate  delegate)
Sets the Delegate for this ObjectImpl instance to the given Delegate object. All method invocations on this ObjectImpl object will be forwarded to this delegate.

Parameters:
delegate - the Delegate instance to which all method calls on this ObjectImpl object will be delegated; may be implemented by a third-party ORB
See Also:
_get_delegate() sample code for org.omg.CORBA.portable.ObjectImpl._get_delegate() definition code for org.omg.CORBA.portable.ObjectImpl._get_delegate()

_ids sample code for org.omg.CORBA.portable.ObjectImpl._ids() definition code for org.omg.CORBA.portable.ObjectImpl._ids()

public abstract String sample code for java.lang.String definition code for java.lang.String [] _ids()
Retrieves a string array containing the repository identifiers supported by this ObjectImpl object. For example, for a stub, this method returns information about all the interfaces supported by the stub.

Returns:
the array of all repository identifiers supported by this ObjectImpl instance

_duplicate sample code for org.omg.CORBA.portable.ObjectImpl._duplicate() definition code for org.omg.CORBA.portable.ObjectImpl._duplicate()

public Object sample code for org.omg.CORBA.Object definition code for org.omg.CORBA.Object  _duplicate()
Returns a duplicate of this ObjectImpl object.

Specified by:
_duplicate sample code for org.omg.CORBA.Object._duplicate() definition code for org.omg.CORBA.Object._duplicate() in interface Object sample code for org.omg.CORBA.Object definition code for org.omg.CORBA.Object
Returns:
an orb.omg.CORBA.Object object that is a duplicate of this object

_release sample code for org.omg.CORBA.portable.ObjectImpl._release() definition code for org.omg.CORBA.portable.ObjectImpl._release()

public void _release()
Releases the resources associated with this ObjectImpl object.

Specified by:
_release sample code for org.omg.CORBA.Object._release() definition code for org.omg.CORBA.Object._release() in interface Object sample code for org.omg.CORBA.Object definition code for org.omg.CORBA.Object

_is_a sample code for org.omg.CORBA.portable.ObjectImpl._is_a(java.lang.String) definition code for org.omg.CORBA.portable.ObjectImpl._is_a(java.lang.String)

public boolean _is_a(String sample code for java.lang.String definition code for java.lang.String  repository_id)
Checks whether the object identified by the given repository identifier is an ObjectImpl object.

Specified by:
_is_a sample code for org.omg.CORBA.Object._is_a(java.lang.String) definition code for org.omg.CORBA.Object._is_a(java.lang.String) in interface Object sample code for org.omg.CORBA.Object definition code for org.omg.CORBA.Object
Parameters:
repository_id - a String object with the repository identifier to check
Returns:
true if the object identified by the given repository id is an instance of ObjectImpl; false otherwise

_is_equivalent sample code for org.omg.CORBA.portable.ObjectImpl._is_equivalent(org.omg.CORBA.Object) definition code for org.omg.CORBA.portable.ObjectImpl._is_equivalent(org.omg.CORBA.Object)

public boolean _is_equivalent(Object sample code for org.omg.CORBA.Object definition code for org.omg.CORBA.Object  that)
Checks whether the the given ObjectImpl object is equivalent to this ObjectImpl object.

Specified by:
_is_equivalent sample code for org.omg.CORBA.Object._is_equivalent(org.omg.CORBA.Object) definition code for org.omg.CORBA.Object._is_equivalent(org.omg.CORBA.Object) in interface Object sample code for org.omg.CORBA.Object definition code for org.omg.CORBA.Object
Parameters:
that - an instance of ObjectImpl to compare with this ObjectImpl object
Returns:
true if the given object is equivalent to this ObjectImpl object; false otherwise

_non_existent sample code for org.omg.CORBA.portable.ObjectImpl._non_existent() definition code for org.omg.CORBA.portable.ObjectImpl._non_existent()

public boolean _non_existent()
Checks whether the server object for this ObjectImpl object has been destroyed.

Specified by:
_non_existent sample code for org.omg.CORBA.Object._non_existent() definition code for org.omg.CORBA.Object._non_existent() in interface Object sample code for org.omg.CORBA.Object definition code for org.omg.CORBA.Object
Returns:
true if the ORB knows authoritatively that the server object does not exist; false otherwise

_hash sample code for org.omg.CORBA.portable.ObjectImpl._hash(int) definition code for org.omg.CORBA.portable.ObjectImpl._hash(int)

public int _hash(int maximum)
Retrieves the hash code that serves as an ORB-internal identifier for this ObjectImpl object.

Specified by:
_hash sample code for org.omg.CORBA.Object._hash(int) definition code for org.omg.CORBA.Object._hash(int) in interface Object sample code for org.omg.CORBA.Object definition code for org.omg.CORBA.Object
Parameters:
maximum - an int indicating the upper bound on the hash value returned by the ORB
Returns:
an int representing the hash code for this ObjectImpl object

_request sample code for org.omg.CORBA.portable.ObjectImpl._request(java.lang.String) definition code for org.omg.CORBA.portable.ObjectImpl._request(java.lang.String)

public Request sample code for org.omg.CORBA.Request definition code for org.omg.CORBA.Request  _request(String sample code for java.lang.String definition code for java.lang.String  operation)
Creates a Request object containing the given method that can be used with the Dynamic Invocation Interface.

Specified by:
_request sample code for org.omg.CORBA.Object._request(java.lang.String) definition code for org.omg.CORBA.Object._request(java.lang.String) in interface Object sample code for org.omg.CORBA.Object definition code for org.omg.CORBA.Object
Parameters:
operation - the method to be invoked by the new Request object
Returns:
a new Request object initialized with the given method

_create_request sample code for org.omg.CORBA.portable.ObjectImpl._create_request(org.omg.CORBA.Context, java.lang.String, org.omg.CORBA.NVList, org.omg.CORBA.NamedValue) definition code for org.omg.CORBA.portable.ObjectImpl._create_request(org.omg.CORBA.Context, java.lang.String, org.omg.CORBA.NVList, org.omg.CORBA.NamedValue)

public Request sample code for org.omg.CORBA.Request definition code for org.omg.CORBA.Request  _create_request(Context sample code for org.omg.CORBA.Context definition code for org.omg.CORBA.Context  ctx,
                               String sample code for java.lang.String definition code for java.lang.String  operation,
                               NVList sample code for org.omg.CORBA.NVList definition code for org.omg.CORBA.NVList  arg_list,
                               NamedValue sample code for org.omg.CORBA.NamedValue definition code for org.omg.CORBA.NamedValue  result)
Creates a Request object that contains the given context, method, argument list, and container for the result.

Specified by:
_create_request sample code for org.omg.CORBA.Object._create_request(org.omg.CORBA.Context, java.lang.String, org.omg.CORBA.NVList, org.omg.CORBA.NamedValue) definition code for org.omg.CORBA.Object._create_request(org.omg.CORBA.Context, java.lang.String, org.omg.CORBA.NVList, org.omg.CORBA.NamedValue) in interface Object sample code for org.omg.CORBA.Object definition code for org.omg.CORBA.Object
Parameters:
ctx - the Context for the request
operation - the method that the new Request object will invoke
arg_list - the arguments for the method; an NVList in which each argument is a NamedValue object
result - a NamedValue object to be used for returning the result of executing the request's method
Returns:
a new Request object initialized with the given context, method, argument list, and container for the return value
See Also:
Request sample code for org.omg.CORBA.Request definition code for org.omg.CORBA.Request , NVList sample code for org.omg.CORBA.NVList definition code for org.omg.CORBA.NVList , NamedValue sample code for org.omg.CORBA.NamedValue definition code for org.omg.CORBA.NamedValue

_create_request sample code for org.omg.CORBA.portable.ObjectImpl._create_request(org.omg.CORBA.Context, java.lang.String, org.omg.CORBA.NVList, org.omg.CORBA.NamedValue, org.omg.CORBA.ExceptionList, org.omg.CORBA.ContextList) definition code for org.omg.CORBA.portable.ObjectImpl._create_request(org.omg.CORBA.Context, java.lang.String, org.omg.CORBA.NVList, org.omg.CORBA.NamedValue, org.omg.CORBA.ExceptionList, org.omg.CORBA.ContextList)

public Request sample code for org.omg.CORBA.Request definition code for org.omg.CORBA.Request  _create_request(Context sample code for org.omg.CORBA.Context definition code for org.omg.CORBA.Context  ctx,
                               String sample code for java.lang.String definition code for java.lang.String  operation,
                               NVList sample code for org.omg.CORBA.NVList definition code for org.omg.CORBA.NVList  arg_list,
                               NamedValue sample code for org.omg.CORBA.NamedValue definition code for org.omg.CORBA.NamedValue  result,
                               ExceptionList sample code for org.omg.CORBA.ExceptionList definition code for org.omg.CORBA.ExceptionList  exceptions,
                               ContextList sample code for org.omg.CORBA.ContextList definition code for org.omg.CORBA.ContextList  contexts)
Creates a Request object that contains the given context, method, argument list, container for the result, exceptions, and list of property names to be used in resolving the context strings. This Request object is for use in the Dynamic Invocation Interface.

Specified by:
_create_request sample code for org.omg.CORBA.Object._create_request(org.omg.CORBA.Context, java.lang.String, org.omg.CORBA.NVList, org.omg.CORBA.NamedValue, org.omg.CORBA.ExceptionList, org.omg.CORBA.ContextList) definition code for org.omg.CORBA.Object._create_request(org.omg.CORBA.Context, java.lang.String, org.omg.CORBA.NVList, org.omg.CORBA.NamedValue, org.omg.CORBA.ExceptionList, org.omg.CORBA.ContextList) in interface Object sample code for org.omg.CORBA.Object definition code for org.omg.CORBA.Object
Parameters:
ctx - the Context object that contains the context strings that must be resolved before they are sent along with the request
operation - the method that the new Request object will invoke
arg_list - the arguments for the method; an NVList in which each argument is a NamedValue object
result - a NamedValue object to be used for returning the result of executing the request's method
exceptions - a list of the exceptions that the given method throws
contexts - a list of the properties that are needed to resolve the contexts in ctx; the strings in contexts are used as arguments to the method Context.get_values, which returns the value associated with the given property
Returns:
a new Request object initialized with the given context strings to resolve, method, argument list, container for the result, exceptions, and list of property names to be used in resolving the context strings
See Also:
Request sample code for org.omg.CORBA.Request definition code for org.omg.CORBA.Request , NVList sample code for org.omg.CORBA.NVList definition code for org.omg.CORBA.NVList , NamedValue sample code for org.omg.CORBA.NamedValue