Class CorbaNamingService

  • All Implemented Interfaces:
    org.jboss.msc.Service, org.jboss.msc.service.Service<org.omg.CosNaming.NamingContextExt>, org.jboss.msc.value.Value<org.omg.CosNaming.NamingContextExt>

    public class CorbaNamingService
    extends Object
    implements org.jboss.msc.service.Service<org.omg.CosNaming.NamingContextExt>

    This class implements a Service that provides the default CORBA naming service for JBoss to use.

    Author:
    Stefan Guilhen, Tomasz Adamski
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static org.jboss.msc.service.ServiceName SERVICE_NAME  
      • Fields inherited from interface org.jboss.msc.service.Service

        NULL, NULL_VALUE
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.jboss.msc.inject.Injector<org.omg.PortableServer.POA> getNamingPOAInjector()
      Obtains a reference to the POA injector which allows the injection of the POA that will be used activate the naming service.
      org.jboss.msc.inject.Injector<org.omg.CORBA.ORB> getORBInjector()
      Obtains a reference to the ORB injector which allows the injection of the running ORB that will be used to initialize the naming service.
      org.jboss.msc.inject.Injector<org.omg.PortableServer.POA> getRootPOAInjector()
      Obtains a reference to the RootPOA injector which allows the injection of the root POA that will be used to initialize the naming service.
      org.omg.CosNaming.NamingContextExt getValue()  
      void start​(org.jboss.msc.service.StartContext context)  
      void stop​(org.jboss.msc.service.StopContext context)  
    • Field Detail

      • SERVICE_NAME

        public static final org.jboss.msc.service.ServiceName SERVICE_NAME
    • Constructor Detail

      • CorbaNamingService

        public CorbaNamingService​(Properties props)
    • Method Detail

      • start

        public void start​(org.jboss.msc.service.StartContext context)
                   throws org.jboss.msc.service.StartException
        Specified by:
        start in interface org.jboss.msc.Service
        Specified by:
        start in interface org.jboss.msc.service.Service<org.omg.CosNaming.NamingContextExt>
        Throws:
        org.jboss.msc.service.StartException
      • stop

        public void stop​(org.jboss.msc.service.StopContext context)
        Specified by:
        stop in interface org.jboss.msc.Service
        Specified by:
        stop in interface org.jboss.msc.service.Service<org.omg.CosNaming.NamingContextExt>
      • getORBInjector

        public org.jboss.msc.inject.Injector<org.omg.CORBA.ORB> getORBInjector()

        Obtains a reference to the ORB injector which allows the injection of the running ORB that will be used to initialize the naming service.

        Returns:
        the Injector<ORB> used to inject the running ORB.
      • getRootPOAInjector

        public org.jboss.msc.inject.Injector<org.omg.PortableServer.POA> getRootPOAInjector()

        Obtains a reference to the RootPOA injector which allows the injection of the root POA that will be used to initialize the naming service.

        Returns:
        the Injector<POA> used to inject the root POA.
      • getNamingPOAInjector

        public org.jboss.msc.inject.Injector<org.omg.PortableServer.POA> getNamingPOAInjector()

        Obtains a reference to the POA injector which allows the injection of the POA that will be used activate the naming service.

        Returns:
        the Injector<POA> used to inject the naming service POA.