org.omg.CORBA
Interface Object
- AccessiblePolicy, AdapterActivator, BindingIterator, ClientRequestInfo, ClientRequestInterceptor, Codec, CodecFactory, Current, Current, Current, DomainManager, DynAny, DynAny, DynAnyFactory, DynArray, DynArray, DynEnum, DynEnum, DynFixed, DynFixed, DynSequence, DynSequence, DynStruct, DynStruct, DynUnion, DynUnion, DynValue, DynValue, DynValueBox, DynValueCommon, IdAssignmentPolicy, IdUniquenessPolicy, IDLType, ImplicitActivationPolicy, Interceptor, IORInfo, IORInterceptor, IORInterceptor_3_0, IRObject, LifespanPolicy, NamingContext, NamingContextExt, ORBInitializer, ORBInitInfo, Policy, PolicyFactory, POA, POAManager, RequestInfo, RequestProcessingPolicy, RunTime, ServantActivator, ServantLocator, ServantManager, ServantRetentionPolicy, ServerRequestInfo, ServerRequestInterceptor, ThreadPolicy
- AbstractAny, Binding_iterator_impl, CdrEncapsCodecImpl, DivideableAny, DynamicImplementation, Ext, gnuAdapterActivator, gnuClientRequestInfo, gnuCodecFactory, gnuDynAny, gnuDynAnyFactory, gnuDynArray, gnuDynEnum, gnuDynFixed, gnuDynSequence, gnuDynStruct, gnuDynUnion, gnuDynValue, gnuDynValueBox, gnuIcCurrent, gnuIdAssignmentPolicy, gnuIdUniquenessPolicy, gnuImplicitActivationPolicy, gnuIorInfo, gnuLifespanPolicy, gnuPoaCurrent, gnuPOA, gnuPOAManager, gnuRequestProcessingPolicy, gnuRuntime, gnuServantObject, gnuServantRetentionPolicy, gnuServerRequestInfo, gnuThreadPolicy, IorObject, LocalObject, ObjectImpl, ObjectImpl, RecordAny, Registrator, Stub, TransientContext, UndivideableAny, _BindingIteratorImplBase, _BindingIteratorStub, _DynAnyFactoryStub, _DynAnyStub, _DynArrayStub, _DynEnumStub, _DynFixedStub, _DynSequenceStub, _DynStructStub, _DynUnionStub, _DynValueStub, _IDLTypeStub, _NamingContextExtImplBase, _NamingContextExtStub, _NamingContextImplBase, _NamingContextStub, _PolicyImplBase, _PolicyStub, _Remote_Stub, _ServantActivatorStub, _ServantLocatorStub
The CORBA object reference. The object can be either local or remote.
For the local object, the methods of the derived object are called
like on any other java object. For the remote object, the reference
points to the stup (proxy), responsible for the remote invocation.
Request | _create_request(Context context, String operation, NVList parameters, NamedValue returns) - Create a request to invoke the method of this object.
|
Request | _create_request(Context context, String operation, NVList parameters, NamedValue returns, ExceptionList exceptions, ContextList ctx_list) - Create a request to invoke the method of this object, specifying
context list and the list of the expected exception.
|
Object | _duplicate() - Duplicate the object reference.
|
DomainManager[] | _get_domain_managers() - Retrieve the domain managers for this object.
|
Object | _get_interface_def() - Get the
InterfaceDef for this Object.
|
Policy | _get_policy(int a_policy_type) - Returns the
Policy , applying to this object.
|
int | _hash(int maximum) - Get the hashcode this object reference.
|
boolean | _is_a(String repositoryIdentifer) - Check if this object can be referenced by the given repository id.
|
boolean | _is_equivalent(Object other) - Return true if the other object references are equivalent, so far as
it is possible to determine this easily.
|
boolean | _non_existent() - Determines if the server object for this reference has already
been destroyed.
|
void | _release() - Free resoureces, occupied by this reference.
|
Request | _request(String operation) - Create a request to invoke the method of this CORBA object.
|
Object | _set_policy_override(Policy[] policies, SetOverrideType how) - Returns a new object with the new policies either replacing or
extending the current policies, depending on the second parameter.
|
_create_request
public Request _create_request(Context context,
String operation,
NVList parameters,
NamedValue returns)
Create a request to invoke the method of this object.
context
- a list of additional properties.operation
- the name of method to be invoked.parameters
- the method parameters.returns
- the container for tge method returned value.
_create_request
public Request _create_request(Context context,
String operation,
NVList parameters,
NamedValue returns,
ExceptionList exceptions,
ContextList ctx_list)
Create a request to invoke the method of this object, specifying
context list and the list of the expected exception.
context
- a list of additional properties.operation
- the name of method to be invoked.parameters
- the method parameters.returns
- the container for tge method returned value.exceptions
- the list of the possible exceptions that the method
can throw.ctx_list
- the list of the context strings that need to be
resolved and send as a context instance.
_duplicate
public Object _duplicate()
Duplicate the object reference. This does not make much sense for
java platform and is just included for the sake of compliance with
CORBA APIs.
The method may return the object reference itself.
_get_policy
public Policy _get_policy(int a_policy_type)
throws BAD_PARAM
Returns the
Policy
, applying to this object.
a_policy_type
- a type of policy to be obtained.
- a corresponding Policy object.
BAD_PARAM
- if the policy of the given type is not
associated with this object, or if it is not supported by this ORB.
_hash
public int _hash(int maximum)
Get the hashcode this object reference. The same hashcode still
does not means that the references are the same. From the other
side, two different references may still refer to the same CORBA
object. The returned value must not change during the object
lifetime.
maximum
- the maximal value to return.
_is_a
public boolean _is_a(String repositoryIdentifer)
Check if this object can be referenced by the given repository id.
repositoryIdentifer
- the repository id.
- true if the passed parameter is a repository id of this
CORBA object.
_is_equivalent
public boolean _is_equivalent(Object other)
Return true if the other object references are equivalent, so far as
it is possible to determine this easily.
other
- the other object reference.
- true if both references refer the same object, false
if they probably can refer different objects.
_non_existent
public boolean _non_existent()
Determines if the server object for this reference has already
been destroyed.
- true if the object has been destroyed, false otherwise.
_release
public void _release()
Free resoureces, occupied by this reference. The object implementation
is not notified, and the other references to the same object are not
affected.
_request
public Request _request(String operation)
Create a request to invoke the method of this CORBA object.
operation
- the name of the method to invoke.
_set_policy_override
public Object _set_policy_override(Policy[] policies,
SetOverrideType how)
Returns a new object with the new policies either replacing or
extending the current policies, depending on the second parameter.
- the new reference with the changed policies.
Object.java --
Copyright (C) 2005 Free Software Foundation, Inc.
This file is part of GNU Classpath.
GNU Classpath is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2, or (at your option)
any later version.
GNU Classpath is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License for more details.
You should have received a copy of the GNU General Public License
along with GNU Classpath; see the file COPYING. If not, write to the
Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
02110-1301 USA.
Linking this library statically or dynamically with other modules is
making a combined work based on this library. Thus, the terms and
conditions of the GNU General Public License cover the whole
combination.
As a special exception, the copyright holders of this library give you
permission to link this library with independent modules to produce an
executable, regardless of the license terms of these independent
modules, and to copy and distribute the resulting executable under
terms of your choice, provided that you also meet, for each linked
independent module, the terms and conditions of the license of that
module. An independent module is a module which is not derived from
or based on this library. If you modify this library, you may extend
this exception to your version of the library, but you are not
obligated to do so. If you do not wish to do so, delete this
exception statement from your version.