VisiBroker for Java

com.inprise.vbroker.interceptor
Class ChainPOALifeCycleInterceptor

java.lang.Object
  extended by com.inprise.vbroker.interceptor.ChainPOALifeCycleInterceptor
All Implemented Interfaces:
POALifeCycleInterceptor, java.io.Serializable, IDLEntity

public class ChainPOALifeCycleInterceptor
extends java.lang.Object
implements POALifeCycleInterceptor

See Also:
Serialized Form

Method Summary
 void create(POA poa, PolicyListHolder policies, com.inprise.vbroker.IOP.IORValueHolder ior, 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.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

create

public void create(POA poa,
                   PolicyListHolder policies,
                   com.inprise.vbroker.IOP.IORValueHolder ior,
                   InterceptorManagerControl poaAdmin)
            throws InvalidPolicy
Description copied from interface: POALifeCycleInterceptor
This interceptor is called after the parent POA has created the child POA, calling any adapter activators if necessary. This method is invoked when a new POA is created either explicitly through a call to create_POA or via AdapterActivator. With AdapterActivator, the interceptor is called only after the unknown_adapter method successfully returns from the AdapterActivator.

Specified by:
create in interface POALifeCycleInterceptor
Parameters:
poa - The POA that is being created.
policies - The list of policies specified for this POA.
ior - 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.
Throws:
InvalidPolicy

destroy

public void destroy(POA poa)
Description copied from interface: POALifeCycleInterceptor
This method is called when a POA is just about to be destroyed and all of its objects have been etherealized. It is guaranteed that destroy will be called on all interceptors before create will be called again for a POA with the same name. If the destroy operation throws a system exception it is ignored, and the remaining interceptors will continue to be called.

Specified by:
destroy in interface POALifeCycleInterceptor
Parameters:
poa - Portable Object Adaptor (POA) being destroyed.

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