10.16.2 PolicyFactoryのメソッド
-
public org.omg.CORBA.Policy create_policy(
int type,
org.omg.CORBA.Any value)
throws
org.omg.CORBA.PolicyError;
登録済みPolicyFactoryのPolicyTypeにCORBA.ORB.create_policy()が呼び出されると,ORBは,登録済みPolicyFactoryインスタンスのcreate_policy()を呼び出します。create_policy()メソッドは,次に,指定したCORBA.Anyに対応する値を持つCORBA.Policyから派生したインタフェースのインスタンスを返します。失敗した場合は,CORBA.ORB.create_policy()で示す例外が発生します。
-
type
作成するポリシーの型を指定しているCORBA.PolicyType
-
value
CORBA.Policyを構成するためのデータを格納しているCORBA.Any
-