public interface PolicyFactoryOperations
CORBA.ORB.create_policy。
一种便携式ORB服务实现寄存器的PolicyFactory接口实例ORB初始化期间为了使其政策类型被使用CORBA.ORB.create_policy。POA是需要保存任何政策是通过这种方式ORBInitInfo注册。
| Modifier and Type | Method and Description |
|---|---|
Policy |
create_policy(int type, Any value)
返回的值对应从
CORBA.Policy导出到指定的任何适当的接口的实例。
|
Policy create_policy(int type, Any value) throws PolicyError
CORBA.Policy导出到指定的任何适当的接口的实例。
ORB调用在注册实例时PolicyFactory create_policy CORBA.ORB.create_policy称为PolicyType下,PolicyFactory已注册。的create_policy操作然后返回来自CORBA.Policy的值对应于指定的任何适当的接口的实例。如果不能,它将抛出一个异常,如CORBA.ORB.create_policy。
type指定政策产生的类型int。
value -任何包含的数据来构建
CORBA.Policy。
CORBA.Policy object of the specified type and value.
-
异常
-
PolicyError
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.
本帮助文档是使用
《百度翻译》翻译,请与英文版配合使用 by--QQ:654638585