1. package org.omg.PortableInterceptor;
  2. /**
  3. * org/omg/PortableInterceptor/IORInterceptorOperations.java .
  4. * Generated by the IDL-to-Java compiler (portable), version "3.1"
  5. * from ../../../../src/share/classes/org/omg/PortableInterceptor/Interceptors.idl
  6. * Monday, February 23, 2004 7:03:06 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. * For example, the POA specifies policies at POA granularity and
  31. * therefore, this operation might be called once per POA rather than
  32. * once per object. In any case, <code>establish_components</code> is
  33. * guaranteed to be called at least once for each distinct set of
  34. * server policies.
  35. * <p>
  36. * An implementation of <code>establish_components</code> must not
  37. * throw exceptions. If it does, the ORB shall ignore the exception
  38. * and proceed to call the next IOR Interceptor's
  39. * <code>establish_components</code> operation.
  40. *
  41. * @param info The <code>IORInfo</code> instance used by the ORB
  42. * service to query applicable policies and add components to be
  43. * included in the generated IORs.
  44. */
  45. void establish_components (org.omg.PortableInterceptor.IORInfo info);
  46. } // interface IORInterceptorOperations