|
VisiBroker for Java |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface POALifeCycleInterceptor
The POALifeCycleInterceptor
is a global interceptor which is invoked every time a POA is created or destroyed.
All other Server-side interceptors may be installed either as global interceptors, or for a specific POAs.
You install the POALifeCycleInterceptor through the InterceptorManager
interface.
The POALifeCycleInterceptor
is called during POA creation and destruction.
Method Summary | |
---|---|
void |
create(POA poa,
PolicyListHolder policies,
com.inprise.vbroker.IOP.IORValueHolder iorTemplate,
InterceptorManagerControl poaAdmin)
This interceptor is called after the parent POA has created the child POA, calling any adapter activators if necessary. |
void |
destroy(POA poa)
This method is called when a POA is just about to be destroyed and all of its objects have been etherealized. |
Method Detail |
---|
void destroy(POA poa)
poa
- Portable Object Adaptor (POA) being destroyed.void create(POA poa, PolicyListHolder policies, com.inprise.vbroker.IOP.IORValueHolder iorTemplate, InterceptorManagerControl poaAdmin) throws InvalidPolicy
poa
- The POA
that is being created.policies
- The list of policies specified for this POA.iorTemplate
- The IOR template is a full IOR value with the type_id not set, and all GIOP.ProfileBodyValues
will have incomplete object keys.poaAdmin
- The InterceptorManagerControl
used to obtain other interceptor managers.
com.inprise.vbroker.PortableServer.POA.InvalidPolicy
- Any of the policy in the policy list is not a valid policy.
InvalidPolicy
|
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |