Package org.omg.PortableInterceptor
Class PolicyFactoryHelper
- java.lang.Object
-
- org.omg.PortableInterceptor.PolicyFactoryHelper
-
public abstract class PolicyFactoryHelper extends java.lang.Object
Enables policy types to be constructed usingCORBA.ORB.create_policy
.A portable ORB service implementation registers an instance of the
PolicyFactory
interface during ORB initialization in order to enable its policy types to be constructed usingCORBA.ORB.create_policy
. The POA is required to preserve any policy which is registered withORBInitInfo
in this manner.
-
-
Field Summary
Fields Modifier and Type Field Description private static TypeCode
__typeCode
private static java.lang.String
_id
-
Constructor Summary
Constructors Constructor Description PolicyFactoryHelper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PolicyFactory
extract(Any a)
static java.lang.String
id()
static void
insert(Any a, PolicyFactory that)
static PolicyFactory
narrow(Object obj)
static PolicyFactory
read(InputStream istream)
static TypeCode
type()
static PolicyFactory
unchecked_narrow(Object obj)
static void
write(OutputStream ostream, PolicyFactory value)
-
-
-
Field Detail
-
_id
private static java.lang.String _id
-
__typeCode
private static TypeCode __typeCode
-
-
Method Detail
-
insert
public static void insert(Any a, PolicyFactory that)
-
extract
public static PolicyFactory extract(Any a)
-
type
public static TypeCode type()
-
id
public static java.lang.String id()
-
read
public static PolicyFactory read(InputStream istream)
-
write
public static void write(OutputStream ostream, PolicyFactory value)
-
narrow
public static PolicyFactory narrow(Object obj)
-
unchecked_narrow
public static PolicyFactory unchecked_narrow(Object obj)
-
-