org.omg.PortableInterceptor

Interface IORInterceptor_3_0Operations

public interface IORInterceptor_3_0Operations extends IORInterceptorOperations

Defines the operations, applicable to the IORInterceptor_3_0.

Since: 1.5

Method Summary
voidadapter_manager_state_changed(int adapterManagerId, short adapterState)
This method is invoked on all registered IORInterceptor_3_0 instances when the state of the adapter manager changes.
voidadapter_state_changed(ObjectReferenceTemplate[] adapters, short adaptersState)
Notifies the interceptor about the adapter state changes that are unrelated to adapter manager state changes.
voidcomponents_established(IORInfo info)
This metod is invoked after the {@link IORInterceptorOperations#establish_components} have been called on all registered interceptor instances.

Method Detail

adapter_manager_state_changed

public void adapter_manager_state_changed(int adapterManagerId, short adapterState)
This method is invoked on all registered IORInterceptor_3_0 instances when the state of the adapter manager changes.

Parameters: adapterManagerId the Id of the adapter manager that has changed the state. The same value is returned by {@link IORInfoOperations#manager_id()}. adapterState the new state of the adapter manager, one of the {@link HOLDING#value}, {@link DISCARDING#value}, {@link INACTIVE#value} or {@link NON_EXISTENT#value}.

adapter_state_changed

public void adapter_state_changed(ObjectReferenceTemplate[] adapters, short adaptersState)
Notifies the interceptor about the adapter state changes that are unrelated to adapter manager state changes. This method is invoked on all registered IORInterceptor_3_0 instances. The only currently possible change of state is when POA is destroyed. In this case, the method is invoked passing the single element array witn the reference template of the POA being destroyed and the {@link NON_EXISTENT#value} state.

Parameters: adapters identifies the object adapters that have changed they state. adaptersState the new state of the adapters, one of the {@link HOLDING#value}, {@link DISCARDING#value}, {@link INACTIVE#value} or {@link NON_EXISTENT#value}.

components_established

public void components_established(IORInfo info)
This metod is invoked after the {@link IORInterceptorOperations#establish_components} have been called on all registered interceptor instances. At this stage, it is possible to set the object reference factory using {@link IORInfo#current_factory(ObjectReferenceFactory )}.