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