1. package org.omg.PortableInterceptor;
  2. /**
  3. * org/omg/PortableInterceptor/IORInterceptorOperations.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:46 AM GMT
  7. */
  8. /**
  9. * Interceptor used to establish tagged components in the profiles within
  10. * an IOR.
  11. * <p>
  12. * In some cases, a portable ORB service implementation may need to add
  13. * information describing the server's or object's ORB service related
  14. * capabilities to object references in order to enable the ORB service
  15. * implementation in the client to function properly.
  16. * <p>
  17. * This is supported through the <code>IORInterceptor</code> and
  18. * <code>IORInfo</code> interfaces.
  19. *
  20. * @see IORInfo
  21. */
  22. public interface IORInterceptorOperations extends org.omg.PortableInterceptor.InterceptorOperations
  23. {
  24. /**
  25. * A server side ORB calls the <code>establish_components</code>
  26. * operation on all registered <code>IORInterceptor</code> instances
  27. * when it is assembling the list of components that will be included
  28. * in the profile or profiles of an object reference. This operation
  29. * is not necessarily called for each individual object reference.
  30. * In the case of the POA, this operation is called each time POA::create_POA
  31. * is called. In any case, <code>establish_components</code> is
  32. * guaranteed to be called at least once for each distinct set of
  33. * server policies.
  34. * <p>
  35. * An implementation of <code>establish_components</code> must not
  36. * throw exceptions. If it does, the ORB shall ignore the exception
  37. * and proceed to call the next IOR Interceptor's
  38. * <code>establish_components</code> operation.
  39. *
  40. * @param info The <code>IORInfo</code> instance used by the ORB
  41. * service to query applicable policies and add components to be
  42. * included in the generated IORs.
  43. */
  44. void establish_components (org.omg.PortableInterceptor.IORInfo info);
  45. } // interface IORInterceptorOperations