Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
org.omg.CORBA.portable.ObjectImpl
Delegate
that can be replaced
by _set_delegate(Delegate)
.
Method Summary | |
Request |
|
Request |
|
Object |
|
Delegate |
|
DomainManager[] |
|
Object |
|
Policy |
|
int |
|
abstract String[] |
|
InputStream |
|
boolean | |
boolean |
|
boolean |
|
boolean |
|
ORB |
|
void |
|
void |
|
Request | |
OutputStream | |
void |
|
void |
|
Object |
|
boolean | |
String |
|
Methods inherited from class java.lang.Object | |
clone , equals , extends Object> getClass , finalize , hashCode , notify , notifyAll , toString , wait , wait , wait |
public Request _create_request(Context context, String operation, NVList parameters, NamedValue returns)
Create a request to invoke the method of this object.
- Specified by:
- _create_request in interface Object
- Parameters:
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.
- Returns:
- the created reaquest.
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.
- Specified by:
- _create_request in interface Object
- Parameters:
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.
- Returns:
- the created reaquest.
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.
- Specified by:
- _duplicate in interface Object
- Returns:
- as a rule,
this
.
public Delegate _get_delegate()
Get vendor specific delegate, responsible for the implemented functionality.
public DomainManager[] _get_domain_managers()
Retrieve the domain managers for this object.
- Specified by:
- _get_domain_managers in interface Object
- Returns:
- the domain managers.
public Object _get_interface_def()
Get theInterfaceDef
for this Object.
- Specified by:
- _get_interface_def in interface Object
public Policy _get_policy(int a_policy_type)
Returns thePolicy
, applying to this object.
- Specified by:
- _get_policy in interface Object
- Parameters:
a_policy_type
- a type of policy to be obtained.
- Returns:
- a corresponding Policy object.
- Throws:
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 int _hash(int max)
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.
- Parameters:
max
- the maximal value to return.
- Returns:
- the hashcode.
public abstract String[] _ids()
Get the array of interface repository ids, defining this object.
public InputStream _invoke(OutputStream output) throws ApplicationException, RemarshalException
Invoke the operation.
- Parameters:
output
- the stream, containing the written arguments.
- Returns:
- the stream, from where the input parameters could be read.
- Throws:
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(String idl_id)
Check if this object can be referenced by the given repository id.
- Parameters:
idl_id
- the repository id.
- Returns:
- true if the passed parameter is a repository id of this CORBA object.
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.
- Specified by:
- _is_equivalent in interface Object
- Parameters:
other
- the other object reference.
- Returns:
- true if both references refer the same object, false if they probably can refer different objects. Uses direct comparison if the delegate has not been set.
public boolean _is_local()
Returns true if the object is local.
- Returns:
- false, always (following 1.4 specs). Override to get functionality.
public boolean _non_existent()
Determines if the server object for this reference has already been destroyed.
- Specified by:
- _non_existent in interface Object
- Returns:
- true if the object has been destroyed, false otherwise.
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.
public void _releaseReply(InputStream stream)
Release the reply stream back to ORB after finishing reading the data from it.
- Parameters:
stream
- the stream, normally returned by_invoke(OutputStream)
orApplicationException.getInputStream()
, can be null.
public Request _request(String method)
Create a request to invoke the method of this CORBA object.
- Parameters:
method
- the name of the method to invoke.
- Returns:
- the request.
public OutputStream _request(String method, boolean response_expected)
Create a request to invoke the method of this CORBA object.
- Parameters:
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.
- Returns:
- the stream where the method arguments should be written.
public void _servant_postinvoke(ServantObject servant)
This method is always called after invoking the operation on the local servant. The default method returns without action.
- Parameters:
servant
- the servant.
public void _set_delegate(Delegate a_delegate)
Set the delegate, responsible for the implemented functionality.
- Parameters:
a_delegate
- a delegate, responsible for the implemented functionality.
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.
- Specified by:
- _set_policy_override in interface Object
- Parameters:
policies
- the policy additions or replacements.how
- eitherSetOverrideType.SET_OVERRIDE
to override the current policies ofSetOverrideType.ADD_OVERRIDE
to replace them.
public boolean equals(Object other)
Check if this object is equal to another object.
- Parameters:
other
- the other object to compare.
- Returns:
- true if the objects are equal.