org.omg.PortableInterceptor.ORBInitInfoHolder Maven / Gradle / Ivy
Show all versions of openjdk-orb Show documentation
package org.omg.PortableInterceptor;
/**
* org/omg/PortableInterceptor/ORBInitInfoHolder.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from /home/tomek/workspace/openjdk-orb/src/share/classes/org/omg/PortableInterceptor/Interceptors.idl
* Wednesday, February 1, 2023 4:15:31 PM CET
*/
/**
* Passed to each ORBInitializer
, allowing it to
* to register interceptors and perform other duties while the ORB is
* initializing.
*
* The ORBInitInfo
object is only valid during
* ORB.init
. If a service keeps a reference to its
* ORBInitInfo
object and tries to use it after
* ORB.init
returns, the object no longer exists and an
* OBJECT_NOT_EXIST
exception shall be thrown.
*
* @see ORBInitializer
*/
public final class ORBInitInfoHolder implements org.omg.CORBA.portable.Streamable
{
public org.omg.PortableInterceptor.ORBInitInfo value = null;
public ORBInitInfoHolder ()
{
}
public ORBInitInfoHolder (org.omg.PortableInterceptor.ORBInitInfo initialValue)
{
value = initialValue;
}
public void _read (org.omg.CORBA.portable.InputStream i)
{
value = org.omg.PortableInterceptor.ORBInitInfoHelper.read (i);
}
public void _write (org.omg.CORBA.portable.OutputStream o)
{
org.omg.PortableInterceptor.ORBInitInfoHelper.write (o, value);
}
public org.omg.CORBA.TypeCode _type ()
{
return org.omg.PortableInterceptor.ORBInitInfoHelper.type ();
}
}