Class IORAddrAnyInitializer

  • All Implemented Interfaces:
    Serializable, org.omg.CORBA.Object, org.omg.CORBA.portable.IDLEntity, org.omg.PortableInterceptor.ORBInitializer, org.omg.PortableInterceptor.ORBInitializerOperations

    public class IORAddrAnyInitializer
    extends org.omg.CORBA.LocalObject
    implements org.omg.PortableInterceptor.ORBInitializer
    This class is used to add IOR interceptors for supporting IN_ADDR_ANY functionality in the ORB
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static String baseMsg  
    • Constructor Summary

      Constructors 
      Constructor Description
      IORAddrAnyInitializer()
      Creates a new instance of IORAddrAnyInitializer
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void post_init​(org.omg.PortableInterceptor.ORBInitInfo info)
      Called during ORB initialization.
      void pre_init​(org.omg.PortableInterceptor.ORBInitInfo info)
      Called during ORB initialization.
      • Methods inherited from class org.omg.CORBA.LocalObject

        _create_request, _create_request, _duplicate, _get_domain_managers, _get_interface, _get_interface_def, _get_policy, _hash, _invoke, _is_a, _is_equivalent, _is_local, _non_existent, _orb, _release, _releaseReply, _request, _request, _servant_postinvoke, _servant_preinvoke, _set_policy_override, validate_connection
      • Methods inherited from interface org.omg.CORBA.Object

        _create_request, _create_request, _duplicate, _get_domain_managers, _get_interface_def, _get_policy, _hash, _is_a, _is_equivalent, _non_existent, _release, _request, _set_policy_override
    • Field Detail

      • baseMsg

        public static final String baseMsg
    • Constructor Detail

      • IORAddrAnyInitializer

        public IORAddrAnyInitializer()
        Creates a new instance of IORAddrAnyInitializer
    • Method Detail

      • pre_init

        public void pre_init​(org.omg.PortableInterceptor.ORBInitInfo info)
        Called during ORB initialization. If it is expected that initial services registered by an interceptor will be used by other interceptors, then those initial services shall be registered at this point via calls to ORBInitInfo.register_initial_reference.
        Specified by:
        pre_init in interface org.omg.PortableInterceptor.ORBInitializerOperations
        Parameters:
        info - provides initialization attributes and operations by which Interceptors can be registered.
      • post_init

        public void post_init​(org.omg.PortableInterceptor.ORBInitInfo info)
        Called during ORB initialization. If a service must resolve initial references as part of its initialization, it can assume that all initial references will be available at this point.

        Calling the post_init operations is not the final task of ORB initialization. The final task, following the post_init calls, is attaching the lists of registered interceptors to the ORB. Therefore, the ORB does not contain the interceptors during calls to post_init. If an ORB-mediated call is made from within post_init, no request interceptors will be invoked on that call. Likewise, if an operation is performed which causes an IOR to be created, no IOR interceptors will be invoked.

        Specified by:
        post_init in interface org.omg.PortableInterceptor.ORBInitializerOperations
        Parameters:
        info - provides initialization attributes and operations by which Interceptors can be registered.