public abstract class ObjectImpl extends java.lang.Object implements org.omg.CORBA.Object
Delegate that can be replaced
by _set_delegate(Delegate).| Constructor and Description |
|---|
ObjectImpl() |
| Modifier and Type | Method and Description |
|---|---|
org.omg.CORBA.Request |
_create_request(org.omg.CORBA.Context context,
java.lang.String operation,
org.omg.CORBA.NVList parameters,
org.omg.CORBA.NamedValue returns)
Create a request to invoke the method of this object.
|
org.omg.CORBA.Request |
_create_request(org.omg.CORBA.Context context,
java.lang.String operation,
org.omg.CORBA.NVList parameters,
org.omg.CORBA.NamedValue returns,
org.omg.CORBA.ExceptionList exceptions,
org.omg.CORBA.ContextList ctx_list)
Create a request to invoke the method of this object, specifying
context list and the list of the expected exception.
|
org.omg.CORBA.Object |
_duplicate()
Duplicate the object reference.
|
Delegate |
_get_delegate()
Get vendor specific delegate, responsible for the implemented
functionality.
|
org.omg.CORBA.DomainManager[] |
_get_domain_managers()
Retrieve the domain managers for this object.
|
org.omg.CORBA.Object |
_get_interface_def()
Get the
InterfaceDef for this Object. |
org.omg.CORBA.Policy |
_get_policy(int a_policy_type)
Returns the
Policy, applying to this object. |
int |
_hash(int max)
Get the hashcode this object reference.
|
abstract java.lang.String[] |
_ids()
Get the array of interface repository ids, defining this object.
|
InputStream |
_invoke(OutputStream output)
Invoke the operation.
|
boolean |
_is_a(java.lang.String idl_id)
Check if this object can be referenced by the given repository id.
|
boolean |
_is_equivalent(org.omg.CORBA.Object other)
Return true if the other object references are equivalent, so far as
it is possible to determine this easily.
|
boolean |
_is_local()
Returns true if the object is local.
|
boolean |
_non_existent()
Determines if the server object for this reference has already
been destroyed.
|
org.omg.CORBA.ORB |
_orb()
Provides the reference to ORB.
|
void |
_release()
Free resoureces, occupied by this reference.
|
void |
_releaseReply(InputStream stream)
Release the reply stream back to ORB after finishing reading the data
from it.
|
org.omg.CORBA.Request |
_request(java.lang.String method)
Create a request to invoke the method of this CORBA object.
|
OutputStream |
_request(java.lang.String method,
boolean response_expected)
Create a request to invoke the method of this CORBA object.
|
void |
_servant_postinvoke(ServantObject servant)
This method is always called after invoking the operation on the
local servant.
|
ServantObject |
_servant_preinvoke(java.lang.String method,
java.lang.Class expected_type)
Returns a servant that should be used for this request.
|
void |
_set_delegate(Delegate a_delegate)
Set the delegate, responsible for the implemented functionality.
|
org.omg.CORBA.Object |
_set_policy_override(org.omg.CORBA.Policy[] policies,
org.omg.CORBA.SetOverrideType how)
Returns a new object with the new policies either replacing or
extending the current policies, depending on the second parameter.
|
boolean |
equals(java.lang.Object other)
Check if this object is equal to another object.
|
java.lang.String |
toString()
Return the string representation of the passed object.
|
public ObjectImpl()
public org.omg.CORBA.Request _create_request(org.omg.CORBA.Context context, java.lang.String operation, org.omg.CORBA.NVList parameters, org.omg.CORBA.NamedValue returns, org.omg.CORBA.ExceptionList exceptions, org.omg.CORBA.ContextList ctx_list)
_create_request in interface org.omg.CORBA.Objectcontext - 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.public org.omg.CORBA.Request _create_request(org.omg.CORBA.Context context, java.lang.String operation, org.omg.CORBA.NVList parameters, org.omg.CORBA.NamedValue returns)
_create_request in interface org.omg.CORBA.Objectcontext - 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.public org.omg.CORBA.Object _duplicate()
_duplicate in interface org.omg.CORBA.Objectthis.public Delegate _get_delegate()
public org.omg.CORBA.DomainManager[] _get_domain_managers()
_get_domain_managers in interface org.omg.CORBA.Objectpublic org.omg.CORBA.Object _get_interface_def()
InterfaceDef for this Object._get_interface_def in interface org.omg.CORBA.Objectpublic org.omg.CORBA.Policy _get_policy(int a_policy_type)
Policy, applying to this object._get_policy in interface org.omg.CORBA.Objecta_policy_type - a type of policy to be obtained.org.omg.CORBA.BAD_PARAM - if the policy of the given type is not
associated with this object, or if it is not supported by this ORB.public abstract java.lang.String[] _ids()
public int _hash(int max)
_hash in interface org.omg.CORBA.Objectmax - the maximal value to return.public InputStream _invoke(OutputStream output) throws ApplicationException, RemarshalException
output - the stream, containing the written arguments.ApplicationException - if the application throws an exception,
defined as a part of its remote method definition.RemarshalException - if reading(remarshalling) fails.public boolean _is_a(java.lang.String idl_id)
_is_a in interface org.omg.CORBA.Objectidl_id - the repository id.public boolean _is_equivalent(org.omg.CORBA.Object other)
_is_equivalent in interface org.omg.CORBA.Objectother - the other object reference.public boolean _is_local()
public boolean _non_existent()
_non_existent in interface org.omg.CORBA.Objectpublic org.omg.CORBA.ORB _orb()
public void _release()
_release in interface org.omg.CORBA.Objectpublic void _releaseReply(InputStream stream)
stream - the stream, normally returned by _invoke(org.omg.CORBA.portable.OutputStream) or
ApplicationException.getInputStream(), can be null.public org.omg.CORBA.Request _request(java.lang.String method)
_request in interface org.omg.CORBA.Objectmethod - the name of the method to invoke.public OutputStream _request(java.lang.String method, boolean response_expected)
method - the name of the method to invoke.response_expected - specifies if this is one way message or the
response to the message is expected.public void _servant_postinvoke(ServantObject servant)
servant - the servant.public ServantObject _servant_preinvoke(java.lang.String method, java.lang.Class expected_type)
method - the operationexpected_type - the expected type of the servant.
This implementation always returns null; override for different
behavior.public void _set_delegate(Delegate a_delegate)
a_delegate - a delegate, responsible for the implemented
functionality.public org.omg.CORBA.Object _set_policy_override(org.omg.CORBA.Policy[] policies, org.omg.CORBA.SetOverrideType how)
_set_policy_override in interface org.omg.CORBA.Objectpolicies - the policy additions or replacements.how - either SetOverrideType.SET_OVERRIDE to override the
current policies of SetOverrideType.ADD_OVERRIDE to replace
them.public boolean equals(java.lang.Object other)
equals in class java.lang.Objectother - the other object to compare.Object.hashCode()public java.lang.String toString()
toString in class java.lang.ObjectObject.getClass(),
Object.hashCode(),
Class.getName(),
Integer.toHexString(int)