org.omg.PortableInterceptor.PolicyFactoryHolder Maven / Gradle / Ivy
package org.omg.PortableInterceptor;
/**
* org/omg/PortableInterceptor/PolicyFactoryHolder.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from /home/jenkins/agent/workspace/orb-release-build/omgapi/src/main/idl/Interceptors.idl
* Sunday, February 14, 2021 7:42:42 PM GMT
*/
/**
* Enables policy types to be constructed using
* CORBA.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 using
* CORBA.ORB.create_policy
. The POA is required to preserve
* any policy which is registered with ORBInitInfo
in this
* manner.
*
* @see ORBInitInfo#register_policy_factory
*/
public final class PolicyFactoryHolder implements org.omg.CORBA.portable.Streamable
{
public org.omg.PortableInterceptor.PolicyFactory value = null;
public PolicyFactoryHolder ()
{
}
public PolicyFactoryHolder (org.omg.PortableInterceptor.PolicyFactory initialValue)
{
value = initialValue;
}
public void _read (org.omg.CORBA.portable.InputStream i)
{
value = org.omg.PortableInterceptor.PolicyFactoryHelper.read (i);
}
public void _write (org.omg.CORBA.portable.OutputStream o)
{
org.omg.PortableInterceptor.PolicyFactoryHelper.write (o, value);
}
public org.omg.CORBA.TypeCode _type ()
{
return org.omg.PortableInterceptor.PolicyFactoryHelper.type ();
}
}