org.omg.PortableInterceptor

Interface InterceptorOperations

public interface InterceptorOperations

Defines operations, applicable for all types of {@link 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 {@link org.omg.PortableInterceptor} for more details about the possible interceptors and how to register them within the ORB.
Method Summary
voiddestroy()
This method is called when orb is being destroyed and destroys the interceptor.
Stringname()
All interceptors of the same type, registered on the single ORB, must either have different names or be anonymous.

Method Detail

destroy

public 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

public 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.