org.openorb.orb.rmi
Class RMIInitializer

java.lang.Object
  |
  +--org.omg.CORBA.LocalObject
        |
        +--org.openorb.orb.core.LoggableLocalObject
              |
              +--org.openorb.orb.rmi.RMIInitializer
All Implemented Interfaces:
FeatureInitializer, org.omg.CORBA.portable.IDLEntity, Initializer, org.apache.avalon.framework.logger.LogEnabled, org.omg.CORBA.Object, org.omg.PortableInterceptor.ORBInitializer, org.omg.PortableInterceptor.ORBInitializerOperations, java.io.Serializable

public class RMIInitializer
extends LoggableLocalObject
implements FeatureInitializer, org.omg.PortableInterceptor.ORBInitializer, Initializer

This class is used a an Initializer for RMI over IIOP. It just registers interceptors used to transmit java errors and runtime exceptions over a corba connection.

Author:
Chris Wood
See Also:
Serialized Form

Constructor Summary
RMIInitializer()
           
 
Method Summary
 java.lang.String getName()
          Return the name of the initializer.
 void init(org.omg.PortableInterceptor.ORBInitInfo orbinfo, FeatureInitInfo featureinfo)
          This is called immediately after any pre_init interception points in ORBInitializers.
 void post_init(org.omg.PortableInterceptor.ORBInitInfo info)
          Register the unknown exception info 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_interface, _get_policy, _hash, _is_a, _is_equivalent, _non_existent, _release, _request, _set_policy_override
 

Constructor Detail

RMIInitializer

public RMIInitializer()
Method Detail

getName

public java.lang.String getName()
Return the name of the initializer.
Specified by:
getName in interface Initializer
Returns:
The name of the initializer.

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 the unknown exception info 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,
                 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 FeatureInitializer
Parameters:
orbinfo - The ORBInitInfo instance for this initializer.
featureinfo - The ORB's feature info.