VisiBroker for Java

org.omg.PortableInterceptor
Interface ORBInitializerOperations

All Known Subinterfaces:
ORBInitializer

public interface ORBInitializerOperations

Facilitates interceptor registration and ORB initialization. Interceptors are intended to be a means by which ORB services gain access to ORB processing, effectively becoming part of the ORB. Since interceptors are part of the ORB, when ORB.init returns an ORB, the interceptors shall have been registered. Interceptors cannot be registered on an ORB after it has been returned by a call to ORB::init.

An interceptor is registered by registering an associated ORBInitializer object which implements the ORBInitializer interface. When an ORB is initializing, it will call each registered ORBInitializer, passing it an ORBInitInfo object which is used to register its interceptor.


Method Summary
 void post_init(ORBInitInfo info)
          This method is called during ORB initialization.
 void pre_init(ORBInitInfo info)
          This method is called during ORB initialization.
 

Method Detail

post_init

void post_init(ORBInitInfo info)
This method is 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() methods 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 a method is performed which causes an IOR to be created, no IOR interceptors will be invoked.

Parameters:
info - This object provides initialization attributes and methods by which interceptors can be registered.

pre_init

void pre_init(ORBInitInfo info)
This method is called during ORB initialization. If it is expected that initial services registered by an interceptor will be usedby other interceptors, then those initial services are registered at this point through calls to ORBInitInfo::register_initial_reference().

Parameters:
info - This object provides initialization attributes and methods by which interceptors can be registered.

Borland Software Corporation
http://www.borland.com
100 Enterprise Way
Scotts Valley, CA 95066
Voice: (831) 431-1000
pubsweb@borland.com

Read the latest documentation online