|
Java Platform 1.2 Beta 4 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.omg.CORBA.portable.Delegate
Object
Method Summary | |
InputStream | _invoke(OutputStream output)
_invoke is called to invoke an operation. |
void | _releaseReply(InputStream input)
_releaseReply may optionally be called by a stub to release a reply stream back to the ORB when the unmarshaling has completed. |
OutputStream | _request(String operation,
boolean responseExpected)
_request is called by a stub to obtain an OutputStream for marshaling arguments. |
abstract Request | create_request(Object obj,
Context ctx,
String operation,
NVList arg_list,
NamedValue result,
ExceptionList exclist,
ContextList ctxlist)
Create a Request instance for use in the Dynamic Invocation Interface. |
abstract Request | create_request(Object obj,
Context ctx,
String operation,
NVList arg_list,
NamedValue result)
Create a Request instance for use in the Dynamic Invocation Interface. |
abstract Object | duplicate(Object obj)
Return a duplicate of the object reference provided. |
DomainManager[] | get_domain_managers(Object self)
|
abstract ImplementationDef | get_implementation(Object obj)
Return an ImplementationDef for the object reference provided. |
abstract InterfaceDef | get_interface(Object obj)
Return an InterfaceDef for the object reference provided. |
Policy | get_policy(Object self,
int policy_type)
|
abstract int | hash(Object obj,
int max)
Returns an ORB-internal identifier (hashcode) for this object reference. |
abstract boolean | is_a(Object obj,
String repository_id)
Check if the object reference is an instance of the given interface. |
abstract boolean | is_equivalent(Object obj,
Object other)
Determines if the two object references are equivalent. |
boolean | is_local(Object self)
|
abstract boolean | non_existent(Object obj)
Determines whether the server object for the object reference has been destroyed. |
ORB | orb(Object obj)
Return the ORB that created this delegate. |
abstract void | release(Object obj)
Release resources associated with the object reference provided. |
abstract Request | request(Object obj,
String operation)
Create a Request instance for use in the Dynamic Invocation Interface. |
void | servant_postinvoke(Object self,
ServantObject servant)
|
ServantObject | servant_preinvoke(Object self,
String operation,
Class expectedType)
|
Object | set_policy_override(Object self,
Policy[] policies,
SetOverrideType set_add)
|
Methods inherited from class java.lang.Object | |
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait |
Method Detail |
public abstract ImplementationDef get_implementation(Object obj)
obj
- The object reference which delegated to this delegate, and
whose ImplementationDef needs to be returned.public abstract InterfaceDef get_interface(Object obj)
obj
- The object reference whose InterfaceDef needs to be returnedpublic abstract Object duplicate(Object obj)
obj
- The object reference whose duplicate needs to be returnedpublic abstract void release(Object obj)
obj
- The object reference whose resources need to be releasedpublic abstract boolean is_a(Object obj, String repository_id)
obj
- The object reference to be checked.
repository_id
- The repository identifier of the interface to check
against.public abstract boolean non_existent(Object obj)
obj
- The object reference which delegated to this delegate.public abstract boolean is_equivalent(Object obj, Object other)
obj
- The object reference which delegated to this delegate.
other
- The object reference to check equivalence against.public abstract int hash(Object obj, int max)
obj
- The object reference which delegated to this delegate.
maximum
- specifies an upper bound on the hash value returned by
the ORB.public abstract Request request(Object obj, String operation)
obj
- The object reference which delegated to this delegate.
operation
- The name of the operation to be invoked using the
Request instance.public abstract Request create_request(Object obj, Context ctx, String operation, NVList arg_list, NamedValue result)
obj
- The object reference which delegated to this delegate.
ctx
- The context to be used.
operation
- The name of the operation to be
invoked.
arg_list
- The arguments to the operation in the
form of an NVList.
result
- A container for the result as a NamedValue.public abstract Request create_request(Object obj, Context ctx, String operation, NVList arg_list, NamedValue result, ExceptionList exclist, ContextList ctxlist)
obj
- The object reference which delegated to this delegate.
ctx
- The context to be used.
operation
- The name of the operation to be
invoked.
arg_list
- The arguments to the operation in the
form of an NVList.
result
- A container for the result as a NamedValue.
exclist
- A list of possible exceptions the
operation can throw.
ctxlist
- A list of context strings that need
to be resolved and sent with the
Request.public ORB orb(Object obj)
public Policy get_policy(Object self, int policy_type)
public DomainManager[] get_domain_managers(Object self)
public Object set_policy_override(Object self, Policy[] policies, SetOverrideType set_add)
public boolean is_local(Object self)
public ServantObject servant_preinvoke(Object self, String operation, Class expectedType)
public void servant_postinvoke(Object self, ServantObject servant)
public OutputStream _request(String operation, boolean responseExpected)
public InputStream _invoke(OutputStream output) throws ApplicationException, SystemException
public void _releaseReply(InputStream input)
|
Java Platform 1.2 Beta 4 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |