Class CorbaNamingService

java.lang.Object
org.wildfly.iiop.openjdk.service.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 final org.jboss.msc.service.ServiceName
     

    Fields inherited from interface org.jboss.msc.service.Service

    NULL
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.jboss.msc.inject.Injector<org.omg.PortableServer.POA>
    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>
    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>
    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
     
    void
    start(org.jboss.msc.service.StartContext context)
     
    void
    stop(org.jboss.msc.service.StopContext context)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • SERVICE_NAME

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

    • CorbaNamingService

      public CorbaNamingService(Properties props)
  • Method Details

    • 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
      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
    • getValue

      public org.omg.CosNaming.NamingContextExt getValue() throws IllegalStateException, IllegalArgumentException
      Specified by:
      getValue in interface org.jboss.msc.value.Value<org.omg.CosNaming.NamingContextExt>
      Throws:
      IllegalStateException
      IllegalArgumentException
    • 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.