VisiBroker for Java

org.omg.PortableInterceptor
Interface InterceptorOperations

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

public interface InterceptorOperations

All Portable Interceptors implement Interceptor.


Method Summary
 void destroy()
          Provides an opportunity to destroy this interceptor.
 java.lang.String name()
          This method returns the name of the interceptor.
 

Method Detail

destroy

void destroy()
Provides an opportunity to destroy this interceptor. The destroy method is called during ORB.destroy. When an application calls ORB.destroy, the ORB: Method invocations from within Interceptor::destroy() on object references for objects implemented on the VisiBroker ORB being destroyed result in undefined behavior. However, method invocations on objects implemented on VisiBroker ORB other than the one being destroyed are permitted. (This means that the VisiBroker ORB being destroyed is still capable of acting as a client, but not as a server.)


name

java.lang.String name()
This method returns the name of the interceptor. Each interceptor may have a name which can be used to order the lists of interceptors. Only one interceptor of a given name can be registered with the VisiBroker ORB for each interceptor type. An interceptor may be anonymous, i.e., has an empty string as the name attribute. Any number of anonymous interceptors may be registered with the VisiBroker ORB.


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