Constructor and Description |
---|
Delegate() |
Modifier and Type | Method and Description |
---|---|
abstract Request |
create_request(Object obj, Context ctx, String operation, NVList arg_list, NamedValue result)
在动态调用接口中创建一个用于使用的请求实例。
|
abstract Request |
create_request(Object obj, Context ctx, String operation, NVList arg_list, NamedValue result, ExceptionList exclist, ContextList ctxlist)
在动态调用接口中创建一个用于使用的请求实例。
|
abstract Object |
duplicate(Object obj)
返回提供的对象引用的副本。
|
boolean |
equals(Object self, Object obj)
为实现重写Equals(java.lang.Object对象)的授权的CORBA对象的方法。
|
DomainManager[] |
get_domain_managers(Object self)
检索该对象的
DomainManagers 。
|
abstract Object |
get_interface_def(Object self)
返回的对象的interfacedef提供参考。
|
Policy |
get_policy(Object self, int policy_type)
返回指定类型的适用于该对象的
Policy 对象。
|
abstract int |
hash(Object obj, int max)
返回一个球体内部标识符(hashCode)这个对象的引用。
|
int |
hashCode(Object self)
提供实现重写授权的CORBA对象的hashcode()方法。
|
InputStream |
invoke(Object self, OutputStream output)
调用是由一个短调用调用一个操作。
|
abstract boolean |
is_a(Object obj, String repository_id)
检查对象引用是否是给定接口的一个实例。
|
abstract boolean |
is_equivalent(Object obj, Object other)
确定两个对象引用是否相等。
|
boolean |
is_local(Object self)
如果这个对象由一个本地的仆人来实现,则返回真。
|
abstract boolean |
non_existent(Object obj)
确定对象引用的服务器对象是否已被销毁。
|
ORB |
orb(Object obj)
参考与参数相关的ORB提供了。
|
abstract void |
release(Object obj)
释放与所提供的对象引用相关的资源。
|
void |
releaseReply(Object self, InputStream input)
releasereply可以被短释放回复流回球时解封已完成。
|
abstract Request |
request(Object obj, String operation)
在动态调用接口中创建一个用于使用的请求实例。
|
OutputStream |
request(Object self, String operation, boolean responseExpected)
请求是由短获得OutputStream编组参数。
|
void |
servant_postinvoke(Object self, ServantObject servant)
servant_postinvoke()是通过局部短手术后一直在当地的仆人调用。
|
ServantObject |
servant_preinvoke(Object self, String operation, 类 expectedType)
返回一个java的资料,应使用这个请求的仆人。
|
Object |
set_policy_override(Object self, Policy[] policies, SetOverrideType set_add)
联营公司的政策与一个新创建的对象引用,它返回。
|
String |
toString(Object self)
提供实现重写授权的CORBA对象的tostring()方法。
|
public abstract Object get_interface_def(Object self)
self
-对象引用的interfacedef需要返回
public abstract void release(Object obj)
obj
-对象引用的资源需要释放
public abstract boolean is_a(Object obj, String repository_id)
obj
-对象引用进行检查。
repository_id
-检查接口标识符存储库。
public abstract boolean non_existent(Object obj)
obj
的对象引用,授权委托。
public abstract boolean is_equivalent(Object obj, Object other)
obj
的对象引用,授权委托。
other
-对象参考检查等价对。
public abstract int hash(Object obj, int max)
obj
的对象引用,授权委托。
max
-指定一个上限的哈希值返回的球。
public abstract Request request(Object obj, String operation)
obj
的对象引用,授权委托。
operation
-操作的名称是使用请求实例调用。
public abstract Request create_request(Object obj, Context ctx, String operation, NVList arg_list, NamedValue result)
obj
的对象引用,授权委托。
ctx
-上下文被使用。
operation
-操作的名称被调用。
arg_list
-在一个nvlist形式到操作的参数。
result
-容器的结果作为一个namedvalue。
public abstract Request create_request(Object obj, Context ctx, String operation, NVList arg_list, NamedValue result, ExceptionList exclist, ContextList ctxlist)
obj
的对象引用,授权委托。
ctx
-上下文被使用。
operation
-操作的名称被调用。
arg_list
-在一个nvlist形式到操作的参数。
result
-容器的结果作为一个namedvalue。
exclist
-列出可能的异常操作可以扔。
ctxlist
-目录上下文字符串,需要解决的问题和请求发送。
public ORB orb(Object obj)
obj
的对象引用,授权委托。
portable
package comments for unimplemented features
public Policy get_policy(Object self, int policy_type)
Policy
对象。
self
的对象引用,授权委托。
policy_type
-要得到的政策类型。
Policy
对象。
BAD_PARAM
-当政策类型的值无效,因为指定的类型不支持这个球或者因为该类型是不是与此对象相关的政策目标。
portable
package comments for unimplemented features
public DomainManager[] get_domain_managers(Object self)
DomainManagers
。这允许管理服务(和应用程序)来检索域管理器,因此适用于那些是域成员的单个对象的安全性和其他策略。
self
的对象引用,授权委托。
portable
package comments for unimplemented features
public Object set_policy_override(Object self, Policy[] policies, SetOverrideType set_add)
self
的对象引用,授权委托。
policies
-一系列政策对象的引用。
set_add
-表示这些政策是否应该被添加到已经存在的任何otheroverrides(add_override)的对象的引用,或者他们应该被添加到一个干净的覆盖免费对象引用(set_override)。
portable
package comments for unimplemented features
public boolean is_local(Object self)
self
的对象引用,授权委托。
public ServantObject servant_preinvoke(Object self, String operation, 类 expectedType)
self
的对象引用,授权委托。
operation
-一个包含操作名称。操作名称对应的操作名称,它可能在GIOP请求编码。
expectedType
-代表仆人预期类型的类对象。预期型与短的界面操作类相关的类的对象(例如一个存根接口foo,会通过类对象的foooperations接口)。
public void servant_postinvoke(Object self, ServantObject servant)
self
的对象引用,授权委托。
servant
的servantobject实例从servant_preinvoke()方法返回。
public OutputStream request(Object self, String operation, boolean responseExpected)
self
的对象引用,授权委托。
operation
-一个包含操作名称。操作名称对应的操作名称,它可能在GIOP请求编码。
responseExpected
假如果操作一一操作,否则,真的。
portable
package comments for unimplemented features
public InputStream invoke(Object self, OutputStream output) throws ApplicationException, RemarshalException
self
的对象引用,授权委托。
output
包含使用参数的输出流
ApplicationException
-当执行抛出(调用时)异常定义为其远程方法定义的一部分。
RemarshalException
- remarshalling失败时引发。
portable
package comments for unimplemented features
public void releaseReply(Object self, InputStream input)
self
的对象引用,授权委托。
input
的InputStream。
portable
package comments for unimplemented features
public String toString(Object self)
self
的对象引用,授权委托
String
表示对象的引用,这
Delegate
授予对象
public int hashCode(Object self)
self
的对象引用,授权委托
int
表示该对象的引用,给这
Delegate
对象的hashCode
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.