Methods Summary |
---|
public abstract org.omg.CORBA.Request | create_request(org.omg.CORBA.Object obj, org.omg.CORBA.Context ctx, java.lang.String operation, org.omg.CORBA.NVList arg_list, org.omg.CORBA.NamedValue result, org.omg.CORBA.ExceptionList exclist, org.omg.CORBA.ContextList ctxlist)Creates a Request instance for use in the Dynamic Invocation Interface.
|
public abstract org.omg.CORBA.Request | create_request(org.omg.CORBA.Object obj, org.omg.CORBA.Context ctx, java.lang.String operation, org.omg.CORBA.NVList arg_list, org.omg.CORBA.NamedValue result)Creates a Request instance for use in the Dynamic Invocation Interface.
|
public abstract org.omg.CORBA.Object | duplicate(org.omg.CORBA.Object obj)Returns a duplicate of the object reference provided.
|
public boolean | equals(org.omg.CORBA.Object self, java.lang.Object obj)Provides the implementation to override the equals(java.lang.Object obj)
method of the delegating CORBA object.
return (self == obj);
|
public org.omg.CORBA.DomainManager[] | get_domain_managers(org.omg.CORBA.Object self)Retrieves the DomainManagers of this object.
This allows administration services (and applications) to retrieve the
domain managers, and hence the security and other policies applicable
to individual objects that are members of the domain.
throw new org.omg.CORBA.NO_IMPLEMENT();
|
public abstract org.omg.CORBA.Object | get_interface_def(org.omg.CORBA.Object self)Return an InterfaceDef for the object reference provided.
|
public org.omg.CORBA.Policy | get_policy(org.omg.CORBA.Object self, int policy_type)Returns the Policy object of the specified type
which applies to this object.
throw new org.omg.CORBA.NO_IMPLEMENT();
|
public abstract int | hash(org.omg.CORBA.Object obj, int max)Returns an ORB-internal identifier (hashcode) for this object reference.
|
public int | hashCode(org.omg.CORBA.Object self)Provides the implementation to override the hashCode() method
of the delegating CORBA object.
return System.identityHashCode(self);
|
public InputStream | invoke(org.omg.CORBA.Object self, OutputStream output)invoke is called by a stub to invoke an operation. The stub provides an
OutputStream that was previously returned by a request()
call. invoke returns an InputStream which contains the
marshaled reply. If an exception occurs, invoke may throw an
ApplicationException object which contains an InputStream from
which the user exception state may be unmarshaled.
throw new org.omg.CORBA.NO_IMPLEMENT();
|
public abstract boolean | is_a(org.omg.CORBA.Object obj, java.lang.String repository_id)Checks if the object reference is an instance of the given interface.
|
public abstract boolean | is_equivalent(org.omg.CORBA.Object obj, org.omg.CORBA.Object other)Determines if the two object references are equivalent.
|
public boolean | is_local(org.omg.CORBA.Object self)Returns true if this object is implemented by a local servant.
return false;
|
public abstract boolean | non_existent(org.omg.CORBA.Object obj)Determines whether the server object for the object reference has been
destroyed.
|
public org.omg.CORBA.ORB | orb(org.omg.CORBA.Object obj)Provides a reference to the orb associated with its parameter.
throw new org.omg.CORBA.NO_IMPLEMENT();
|
public abstract void | release(org.omg.CORBA.Object obj)Releases resources associated with the object reference provided.
|
public void | releaseReply(org.omg.CORBA.Object self, InputStream input)releaseReply may optionally be called by a stub to release a
reply stream back to the ORB when the unmarshaling has
completed. The stub passes the InputStream returned by
invoke() or ApplicationException.getInputStream(). A null
value may also be passed to releaseReply, in which case the
method is a noop.
throw new org.omg.CORBA.NO_IMPLEMENT();
|
public OutputStream | request(org.omg.CORBA.Object self, java.lang.String operation, boolean responseExpected)request is called by a stub to obtain an OutputStream for
marshaling arguments. The stub must supply the operation name,
and indicate if a response is expected (i.e is this a oneway
call).
throw new org.omg.CORBA.NO_IMPLEMENT();
|
public abstract org.omg.CORBA.Request | request(org.omg.CORBA.Object obj, java.lang.String operation)Creates a Request instance for use in the Dynamic Invocation Interface.
|
public void | servant_postinvoke(org.omg.CORBA.Object self, ServantObject servant)servant_postinvoke() is invoked by the local stub after the operation
has been invoked on the local servant.
This method must be called if servant_preinvoke() returned a non-null
value, even if an exception was thrown by the servant's method.
For this reason, the call to servant_postinvoke() should be placed
in a Java finally clause.
|
public ServantObject | servant_preinvoke(org.omg.CORBA.Object self, java.lang.String operation, java.lang.Class expectedType)Returns a Java reference to the servant which should be used for this
request. servant_preinvoke() is invoked by a local stub.
If a ServantObject object is returned, then its servant field
has been set to an object of the expected type (Note: the object may
or may not be the actual servant instance). The local stub may cast
the servant field to the expected type, and then invoke the operation
directly. The ServantRequest object is valid for only one invocation,
and cannot be used for more than one invocation.
return null;
|
public org.omg.CORBA.Object | set_policy_override(org.omg.CORBA.Object self, org.omg.CORBA.Policy[] policies, org.omg.CORBA.SetOverrideType set_add)Associates the policies passed in
with a newly created object reference that it returns. Only certain
policies that pertain to the invocation of an operation at the client
end can be overridden using this operation. Attempts to override any
other policy will result in the raising of the CORBA::NO_PERMISSION
exception.
throw new org.omg.CORBA.NO_IMPLEMENT();
|
public java.lang.String | toString(org.omg.CORBA.Object self)Provides the implementation to override the toString() method
of the delegating CORBA object.
return self.getClass().getName() + ":" + this.toString();
|