org.omg.PortableInterceptor
Interface InterceptorOperations

All Known Subinterfaces:
ClientRequestInterceptor, ClientRequestInterceptorOperations, Interceptor, IORInterceptor, IORInterceptor_3_0, IORInterceptor_3_0Operations, IORInterceptorOperations, ServerRequestInterceptor, ServerRequestInterceptorOperations

public interface InterceptorOperations

Defines operations, applicable for all types of Interceptor. The the derived interfaces define additional operations for they specific functionality. Portable Interceptors are hooks into the ORB through which ORB services can intercept the normal flow of execution in creation of IOR, sending request, receiving request and returning the reply. See org.omg.PortableInterceptor for more details about the possible interceptors and how to register them within the ORB.


Method Summary
 void destroy()
          This method is called when orb is being destroyed and destroys the interceptor.
 String name()
          All interceptors of the same type, registered on the single ORB, must either have different names or be anonymous.
 

Method Detail

destroy

void destroy()
This method is called when orb is being destroyed and destroys the interceptor. The ORB calls this method after completing all incoming requests. The method body should not invoke methods on other object, belonging to ORB being destoryed, as in this stage it is no longer capable to act as server. It is still, however, capable to act as a client, permitting remote invocations on other objects.


name

String name()
All interceptors of the same type, registered on the single ORB, must either have different names or be anonymous. The name of the anonymous interceptor is an empty string. The ORB supports multiple anonymous interceptors of the same type.

Returns:
the name of the interceptor.