|
VisiBroker for Java |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 |
---|
void post_init(ORBInitInfo info)
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.
info
- This object provides initialization attributes and methods by which interceptors can be registered.void pre_init(ORBInitInfo info)
ORBInitInfo::register_initial_reference()
.
info
- This object provides initialization attributes and methods by which interceptors can be registered.
|
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |