org.apache.geronimo.corba.security
Class SecurityInitializer

java.lang.Object
  extended by org.omg.CORBA.LocalObject
      extended by org.apache.geronimo.corba.security.SecurityInitializer
All Implemented Interfaces:
Serializable, Object, IDLEntity, ORBInitializer, ORBInitializerOperations

public class SecurityInitializer
extends LocalObject
implements ORBInitializer

See Also:
Serialized Form

Constructor Summary
SecurityInitializer()
           
 
Method Summary
 void post_init(ORBInitInfo info)
          Called during ORB initialization.
 void pre_init(ORBInitInfo info)
          Called during ORB initialization.
 
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

SecurityInitializer

public SecurityInitializer()
Method Detail

pre_init

public void pre_init(ORBInitInfo info)
Called during ORB initialization. If it is expected that initial services registered by an interceptor will be used by other interceptors, then those initial services shall be registered at this point via calls to ORBInitInfo.register_initial_reference.

Specified by:
pre_init in interface ORBInitializerOperations
Parameters:
info - provides initialization attributes and operations by which Interceptors can be registered.

post_init

public void post_init(ORBInitInfo info)
Called during ORB initialization. If a service must resolve initial references as part of its initialization, it can assume that all initial references will be available at this point.

Calling the post_init operations is not the final task of ORB initialization. The final task, following the post_init calls, is attaching the lists of registered interceptors to the ORB. Therefore, the ORB does not contain the interceptors during calls to post_init. If an ORB-mediated call is made from within post_init, no request interceptors will be invoked on that call. Likewise, if an operation is performed which causes an IOR to be created, no IOR interceptors will be invoked.

Specified by:
post_init in interface ORBInitializerOperations
Parameters:
info - provides initialization attributes and operations by which Interceptors can be registered.


Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.