org.omg.PortableInterceptor
Interface IORInterceptor_3_0Operations

All Superinterfaces:
InterceptorOperations, IORInterceptorOperations
All Known Subinterfaces:
IORInterceptor_3_0

public interface IORInterceptor_3_0Operations
extends IORInterceptorOperations

Defines the operations, applicable to the IORInterceptor_3_0.

Since:
1.5

Method Summary
 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.
 void adapter_state_changed(ObjectReferenceTemplate[] adapters, short adaptersState)
          Notifies the interceptor about the adapter state changes that are unrelated to adapter manager state changes.
 void components_established(IORInfo info)
          This metod is invoked after the IORInterceptorOperations.establish_components(org.omg.PortableInterceptor.IORInfo) have been called on all registered interceptor instances.
 
Methods inherited from interface org.omg.PortableInterceptor.IORInterceptorOperations
establish_components
 
Methods inherited from interface org.omg.PortableInterceptor.InterceptorOperations
destroy, name
 

Method Detail

adapter_manager_state_changed

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 IORInfoOperations.manager_id().
adapterState - the new state of the adapter manager, one of the HOLDING.value, DISCARDING.value, INACTIVE.value or NON_EXISTENT.value.

adapter_state_changed

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 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 HOLDING.value, DISCARDING.value, INACTIVE.value or NON_EXISTENT.value.

components_established

void components_established(IORInfo info)
This metod is invoked after the IORInterceptorOperations.establish_components(org.omg.PortableInterceptor.IORInfo) have been called on all registered interceptor instances. At this stage, it is possible to set the object reference factory using IORInfoOperations.current_factory(ObjectReferenceFactory ).