Class TOAFactory

java.lang.Object
com.sun.corba.ee.impl.oa.toa.TOAFactory
All Implemented Interfaces:
ObjectAdapterFactory

@ManagedObject @Description("The Factory for the TOA (transient object adapter)") @AMXMetadata(isSingleton=true) public class TOAFactory extends Object implements ObjectAdapterFactory
  • Field Details

  • Constructor Details

    • TOAFactory

      public TOAFactory()
  • Method Details

    • getDefaultTOA

      @ManagedAttribute @Description("The default TOA used only for dispatch, not objref creation") private TOAImpl getDefaultTOA()
    • getCodebaseMap

      @ManagedAttribute @Description("The map from Codebase to TOA") private Map<String,TOAImpl> getCodebaseMap()
    • find

      public ObjectAdapter find(ObjectAdapterId oaid)
      Description copied from interface: ObjectAdapterFactory
      Find the ObjectAdapter instance that corresponds to the given ObjectAdapterId.
      Specified by:
      find in interface ObjectAdapterFactory
      Parameters:
      oaid - id to look up
      Returns:
      found ObjectAdapter
    • init

      public void init(ORB orb)
      Description copied from interface: ObjectAdapterFactory
      Initialize this object adapter factory instance.
      Specified by:
      init in interface ObjectAdapterFactory
      Parameters:
      orb - to use for initalisation
    • shutdown

      public void shutdown(boolean waitForCompletion)
      Description copied from interface: ObjectAdapterFactory
      Shutdown all object adapters and other state associated with this factory.
      Specified by:
      shutdown in interface ObjectAdapterFactory
      Parameters:
      waitForCompletion - if true then wait for all ongoing requests to finish before shutting down, if false then shutdown immediatly.
    • getTOA

      public TOA getTOA(String codebase)
    • getTOA

      public TOA getTOA()
    • getORB

      public ORB getORB()
      Specified by:
      getORB in interface ObjectAdapterFactory