java.lang.Object
com.arjuna.orbportability.internal.orbspecific.oa.implementations.POABase
All Implemented Interfaces:
POAImple
Direct Known Subclasses:
javaidl_1_4

public abstract class POABase extends Object implements POAImple
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected boolean
     
    protected org.omg.PortableServer.POA
     
    protected Hashtable
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    destroyPOA(String adapterName)
    Destroy the child POA.
    void
    Destroy the root POA.
    void
    init(ORB orb)
    Initialise the root POA.
    boolean
    Has the Object Adapter been initialised?
    org.omg.PortableServer.POA
    poa(String adapterName)
     
    void
    poa(String adapterName, org.omg.PortableServer.POA thePOA)
    Provide a reference to the child POA.
    org.omg.PortableServer.POA
     
    void
    rootPoa(org.omg.PortableServer.POA thePOA)
    Provide a reference to the root POA.
    void
    run(ORB orb)
    run is a way of starting a server listening for invocations.
    void
    run(ORB orb, String name)
    run is a way of starting a server listening for invocations.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.arjuna.orbportability.oa.core.POAImple

    createPOA
  • Field Details

    • _poa

      protected org.omg.PortableServer.POA _poa
    • _poas

      protected Hashtable _poas
    • _init

      protected boolean _init
  • Constructor Details

    • POABase

      public POABase()
  • Method Details

    • initialised

      public boolean initialised()
      Description copied from interface: POAImple
      Has the Object Adapter been initialised?
      Specified by:
      initialised in interface POAImple
    • init

      public void init(ORB orb) throws org.omg.CORBA.ORBPackage.InvalidName, org.omg.PortableServer.POAManagerPackage.AdapterInactive, org.omg.CORBA.SystemException
      Description copied from interface: POAImple
      Initialise the root POA.
      Specified by:
      init in interface POAImple
      Throws:
      org.omg.CORBA.ORBPackage.InvalidName
      org.omg.PortableServer.POAManagerPackage.AdapterInactive
      org.omg.CORBA.SystemException
    • destroyRootPOA

      public void destroyRootPOA() throws org.omg.CORBA.SystemException
      Description copied from interface: POAImple
      Destroy the root POA.
      Specified by:
      destroyRootPOA in interface POAImple
      Throws:
      org.omg.CORBA.SystemException
    • destroyPOA

      public void destroyPOA(String adapterName) throws org.omg.CORBA.SystemException
      Description copied from interface: POAImple
      Destroy the child POA.
      Specified by:
      destroyPOA in interface POAImple
      Throws:
      org.omg.CORBA.SystemException
    • rootPoa

      public org.omg.PortableServer.POA rootPoa() throws org.omg.CORBA.SystemException
      Specified by:
      rootPoa in interface POAImple
      Returns:
      a reference to the root POA.
      Throws:
      org.omg.CORBA.SystemException
    • rootPoa

      public void rootPoa(org.omg.PortableServer.POA thePOA) throws org.omg.CORBA.SystemException
      Description copied from interface: POAImple
      Provide a reference to the root POA. Used if the application must initialise the POA separately.
      Specified by:
      rootPoa in interface POAImple
      Throws:
      org.omg.CORBA.SystemException
    • poa

      public org.omg.PortableServer.POA poa(String adapterName) throws org.omg.CORBA.SystemException
      Specified by:
      poa in interface POAImple
      Returns:
      a reference to the child POA.
      Throws:
      org.omg.CORBA.SystemException
    • poa

      public void poa(String adapterName, org.omg.PortableServer.POA thePOA) throws org.omg.CORBA.SystemException
      Description copied from interface: POAImple
      Provide a reference to the child POA. Used if the application must initialise the POA separately.
      Specified by:
      poa in interface POAImple
      Throws:
      org.omg.CORBA.SystemException
    • run

      public void run(ORB orb, String name) throws org.omg.CORBA.SystemException
      Description copied from interface: POAImple
      run is a way of starting a server listening for invocations. For historical reasons we do this via the Object Adapter interface, though POA ORBs may implement this via the ORB.
      Specified by:
      run in interface POAImple
      Throws:
      org.omg.CORBA.SystemException
    • run

      public void run(ORB orb) throws org.omg.CORBA.SystemException
      Description copied from interface: POAImple
      run is a way of starting a server listening for invocations. For historical reasons we do this via the Object Adapter interface, though POA ORBs may implement this via the ORB.
      Specified by:
      run in interface POAImple
      Throws:
      org.omg.CORBA.SystemException