org.openorb.orb.csiv2
Class CSIInitializer

java.lang.Object
  extended by org.omg.CORBA.LocalObject
      extended by org.openorb.orb.core.LoggableLocalObject
          extended by org.openorb.orb.csiv2.CSIInitializer
All Implemented Interfaces:
java.io.Serializable, org.apache.avalon.framework.logger.LogEnabled, org.omg.CORBA.Object, org.omg.CORBA.portable.IDLEntity, org.omg.PortableInterceptor.ORBInitializer, org.omg.PortableInterceptor.ORBInitializerOperations, org.openorb.orb.Initializer, org.openorb.orb.pi.FeatureInitializer

public class CSIInitializer
extends org.openorb.orb.core.LoggableLocalObject
implements org.openorb.orb.pi.FeatureInitializer, org.omg.PortableInterceptor.ORBInitializer, org.openorb.orb.Initializer

This class is used as an Initializer for CSIv2. It initializes several data structures by settings from the xml configuration or command line parameters.

Author:
Michael Rumpf
See Also:
Serialized Form

Constructor Summary
CSIInitializer()
          Empty default constructor.
 
Method Summary
 org.openorb.orb.config.ORBLoader getLoader()
          Return the OpenORB loader.
 java.lang.String getName()
          Return the name of the initializer.
 void init(org.omg.PortableInterceptor.ORBInitInfo orbinfo, org.openorb.orb.pi.FeatureInitInfo featureinfo)
          This is called immediately after any pre_init interception points in ORBInitializers.
 void post_init(org.omg.PortableInterceptor.ORBInitInfo info)
          Register client and server interceptors.
 void pre_init(org.omg.PortableInterceptor.ORBInitInfo info)
          Do nothing.
 
Methods inherited from class org.openorb.orb.core.LoggableLocalObject
enableLogging, getLogger
 
Methods inherited from class org.omg.CORBA.LocalObject
_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface_def, _get_interface, _get_policy, _hash, _invoke, _is_a, _is_equivalent, _is_local, _non_existent, _orb, _release, _releaseReply, _request, _request, _servant_postinvoke, _servant_preinvoke, _set_policy_override, validate_connection
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.omg.CORBA.Object
_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface_def, _get_policy, _hash, _is_a, _is_equivalent, _non_existent, _release, _request, _set_policy_override
 

Constructor Detail

CSIInitializer

public CSIInitializer()
Empty default constructor.

Method Detail

getName

public java.lang.String getName()
Return the name of the initializer.

Specified by:
getName in interface org.openorb.orb.Initializer
Returns:
The name of the initializer.

getLoader

public org.openorb.orb.config.ORBLoader getLoader()
Return the OpenORB loader.

Returns:
The OpenORB loader.

pre_init

public void pre_init(org.omg.PortableInterceptor.ORBInitInfo info)
Do nothing.

Specified by:
pre_init in interface org.omg.PortableInterceptor.ORBInitializerOperations
Parameters:
info - The ORBInitInfo instance for this initializer.

post_init

public void post_init(org.omg.PortableInterceptor.ORBInitInfo info)
Register client and server interceptors.

Specified by:
post_init in interface org.omg.PortableInterceptor.ORBInitializerOperations
Parameters:
info - The ORBInitInfo instance for this initializer.

init

public void init(org.omg.PortableInterceptor.ORBInitInfo orbinfo,
                 org.openorb.orb.pi.FeatureInitInfo featureinfo)
This is called immediately after any pre_init interception points in ORBInitializers. The orb reference available from the FeatureInitInfo should be treated with care, it can not be used for any request functions or for creating object references.

Specified by:
init in interface org.openorb.orb.pi.FeatureInitializer
Parameters:
orbinfo - The ORBInitInfo instance for this initializer.
featureinfo - The ORB's feature info.