1. package org.omg.PortableInterceptor;
  2. /**
  3. * org/omg/PortableInterceptor/InterceptorOperations.java .
  4. * Generated by the IDL-to-Java compiler (portable), version "3.2"
  5. * from ../../../../src/share/classes/org/omg/PortableInterceptor/Interceptors.idl
  6. * Wednesday, September 15, 2004 10:28:45 AM GMT
  7. */
  8. /**
  9. * All Portable Interceptors implement Interceptor.
  10. */
  11. public interface InterceptorOperations
  12. {
  13. /**
  14. * Returns the name of the interceptor.
  15. * <p>
  16. * Each Interceptor may have a name that may be used administratively
  17. * to order the lists of Interceptors. Only one Interceptor of a given
  18. * name can be registered with the ORB for each Interceptor type. An
  19. * Interceptor may be anonymous, i.e., have an empty string as the name
  20. * attribute. Any number of anonymous Interceptors may be registered with
  21. * the ORB.
  22. *
  23. * @return the name of the interceptor.
  24. */
  25. String name ();
  26. /**
  27. * Provides an opportunity to destroy this interceptor.
  28. * The destroy method is called during <code>ORB.destroy</code>. When an
  29. * application calls <code>ORB.destroy</code>, the ORB:
  30. * <ol>
  31. * <li>waits for all requests in progress to complete</li>
  32. * <li>calls the <code>Interceptor.destroy</code> operation for each
  33. * interceptor</li>
  34. * <li>completes destruction of the ORB</li>
  35. * </ol>
  36. * Method invocations from within <code>Interceptor.destroy</code> on
  37. * object references for objects implemented on the ORB being destroyed
  38. * result in undefined behavior. However, method invocations on objects
  39. * implemented on an ORB other than the one being destroyed are
  40. * permitted. (This means that the ORB being destroyed is still capable
  41. * of acting as a client, but not as a server.)
  42. */
  43. void destroy ();
  44. } // interface InterceptorOperations