Class ORB

All Implemented Interfaces:
TypeCodeFactory, Broker
Direct Known Subclasses:
ORBImpl, ORBSingleton

public abstract class ORB extends ORB implements Broker, TypeCodeFactory
  • Field Details

    • ORBInitDebug

      public static boolean ORBInitDebug
    • transportDebugFlag

      public boolean transportDebugFlag
    • subcontractDebugFlag

      public boolean subcontractDebugFlag
    • poaDebugFlag

      public boolean poaDebugFlag
    • poaConcurrencyDebugFlag

      public boolean poaConcurrencyDebugFlag
    • poaFSMDebugFlag

      public boolean poaFSMDebugFlag
    • orbdDebugFlag

      public boolean orbdDebugFlag
    • namingDebugFlag

      public boolean namingDebugFlag
    • serviceContextDebugFlag

      public boolean serviceContextDebugFlag
    • transientObjectManagerDebugFlag

      public boolean transientObjectManagerDebugFlag
    • giopVersionDebugFlag

      public boolean giopVersionDebugFlag
    • shutdownDebugFlag

      public boolean shutdownDebugFlag
    • giopDebugFlag

      public boolean giopDebugFlag
    • invocationTimingDebugFlag

      public boolean invocationTimingDebugFlag
    • staticWrapper

      protected static ORBUtilSystemException staticWrapper
    • wrapper

      protected ORBUtilSystemException wrapper
    • omgWrapper

      protected OMGSystemException omgWrapper
    • monitoringManager

      protected MonitoringManager monitoringManager
  • Constructor Details

    • ORB

      protected ORB()
  • Method Details

    • isLocalHost

      public abstract boolean isLocalHost(String hostName)
    • isLocalServerId

      public abstract boolean isLocalServerId(int subcontractId, int serverId)
    • peekInvocationInfo

      public abstract OAInvocationInfo peekInvocationInfo()
    • pushInvocationInfo

      public abstract void pushInvocationInfo(OAInvocationInfo info)
    • popInvocationInfo

      public abstract OAInvocationInfo popInvocationInfo()
    • getCorbaTransportManager

      public abstract CorbaTransportManager getCorbaTransportManager()
    • getLegacyServerSocketManager

      public abstract LegacyServerSocketManager getLegacyServerSocketManager()
    • destroy

      public void destroy()
      Description copied from class: ORB
      Destroys the ORB so that its resources can be reclaimed. Any operation invoked on a destroyed ORB reference will throw the OBJECT_NOT_EXIST exception. Once an ORB has been destroyed, another call to init with the same ORBid will return a reference to a newly constructed ORB.

      If destroy is called on an ORB that has not been shut down, it will start the shut down process and block until the ORB has shut down before it destroys the ORB.
      If an application calls destroy in a thread that is currently servicing an invocation, the BAD_INV_ORDER system exception will be thrown with the OMG minor code 3, since blocking would result in a deadlock.

      For maximum portability and to avoid resource leaks, an application should always call shutdown and destroy on all ORB instances before exiting.

      Overrides:
      destroy in class ORB
    • getPresentationManager

      public static PresentationManager getPresentationManager()
      Returns the Presentation Manager for the current thread group, using the ThreadGroup-specific AppContext to hold it. Creates and records one if needed.
    • getStubFactoryFactory

      public static PresentationManager.StubFactoryFactory getStubFactoryFactory()
      Get the appropriate StubFactoryFactory. This will be dynamic or static depending on whether com.sun.CORBA.ORBUseDynamicStub is true or false.
    • get_primitive_tc

      public TypeCodeImpl get_primitive_tc(int kind)
    • setTypeCode

      public void setTypeCode(String id, TypeCodeImpl code)
      Specified by:
      setTypeCode in interface TypeCodeFactory
    • getTypeCode

      public TypeCodeImpl getTypeCode(String id)
      Specified by:
      getTypeCode in interface TypeCodeFactory
    • getMonitoringManager

      public MonitoringManager getMonitoringManager()
    • set_parameters

      public abstract void set_parameters(Properties props)
    • getORBVersion

      public abstract ORBVersion getORBVersion()
    • setORBVersion

      public abstract void setORBVersion(ORBVersion version)
    • getFVDCodeBaseIOR

      public abstract IOR getFVDCodeBaseIOR()
    • handleBadServerId

      public abstract void handleBadServerId(ObjectKey okey)
      Handle a bad server id for the given object key. This should always through an exception: either a ForwardException to allow another server to handle the request, or else an error indication. XXX Remove after ORT for ORBD work is integrated.
    • setBadServerIdHandler

      public abstract void setBadServerIdHandler(BadServerIdHandler handler)
    • initBadServerIdHandler

      public abstract void initBadServerIdHandler()
    • notifyORB

      public abstract void notifyORB()
    • getPIHandler

      public abstract PIHandler getPIHandler()
    • checkShutdownState

      public abstract void checkShutdownState()
    • isDuringDispatch

      public abstract boolean isDuringDispatch()
    • startingDispatch

      public abstract void startingDispatch()
    • finishedDispatch

      public abstract void finishedDispatch()
    • getTransientServerId

      public abstract int getTransientServerId()
      Return this ORB's transient server ID. This is needed for initializing object adapters.
    • getServiceContextRegistry

      public abstract ServiceContextRegistry getServiceContextRegistry()
    • getRequestDispatcherRegistry

      public abstract RequestDispatcherRegistry getRequestDispatcherRegistry()
    • getORBData

      public abstract ORBData getORBData()
    • setClientDelegateFactory

      public abstract void setClientDelegateFactory(ClientDelegateFactory factory)
    • getClientDelegateFactory

      public abstract ClientDelegateFactory getClientDelegateFactory()
    • setCorbaContactInfoListFactory

      public abstract void setCorbaContactInfoListFactory(CorbaContactInfoListFactory factory)
    • getCorbaContactInfoListFactory

      public abstract CorbaContactInfoListFactory getCorbaContactInfoListFactory()
    • setResolver

      public abstract void setResolver(Resolver resolver)
      Set the resolver used in this ORB. This resolver will be used for list_initial_services and resolve_initial_references.
    • getResolver

      public abstract Resolver getResolver()
      Get the resolver used in this ORB. This resolver will be used for list_initial_services and resolve_initial_references.
    • setLocalResolver

      public abstract void setLocalResolver(LocalResolver resolver)
      Set the LocalResolver used in this ORB. This LocalResolver is used for register_initial_reference only.
    • getLocalResolver

      public abstract LocalResolver getLocalResolver()
      Get the LocalResolver used in this ORB. This LocalResolver is used for register_initial_reference only.
    • setURLOperation

      public abstract void setURLOperation(Operation stringToObject)
      Set the operation used in string_to_object calls. The Operation must expect a String and return an org.omg.CORBA.Object.
    • getURLOperation

      public abstract Operation getURLOperation()
      Get the operation used in string_to_object calls. The Operation must expect a String and return an org.omg.CORBA.Object.
    • setINSDelegate

      public abstract void setINSDelegate(CorbaServerRequestDispatcher insDelegate)
      Set the ServerRequestDispatcher that should be used for handling INS requests.
    • getTaggedComponentFactoryFinder

      public abstract TaggedComponentFactoryFinder getTaggedComponentFactoryFinder()
      Factory finders for the various parts of the IOR: tagged components, tagged profiles, and tagged profile templates.
    • getTaggedProfileFactoryFinder

      public abstract IdentifiableFactoryFinder getTaggedProfileFactoryFinder()
    • getTaggedProfileTemplateFactoryFinder

      public abstract IdentifiableFactoryFinder getTaggedProfileTemplateFactoryFinder()
    • getObjectKeyFactory

      public abstract ObjectKeyFactory getObjectKeyFactory()
    • setObjectKeyFactory

      public abstract void setObjectKeyFactory(ObjectKeyFactory factory)
    • getLogger

      public Logger getLogger(String domain)
      Returns the logger based on the category.
    • staticGetLogger

      public static Logger staticGetLogger(String domain)
    • getLogWrapper

      public LogWrapperBase getLogWrapper(String logDomain, String exceptionGroup, LogWrapperFactory factory)
      get the log wrapper class (its type is dependent on the exceptionGroup) for the given log domain and exception group in this ORB instance.
    • staticGetLogWrapper

      public static LogWrapperBase staticGetLogWrapper(String logDomain, String exceptionGroup, LogWrapperFactory factory)
      get the log wrapper class (its type is dependent on the exceptionGroup) for the given log domain and exception group in this ORB instance.
    • getByteBufferPool

      public ByteBufferPool getByteBufferPool()
    • setThreadPoolManager

      public abstract void setThreadPoolManager(ThreadPoolManager mgr)
    • getThreadPoolManager

      public abstract ThreadPoolManager getThreadPoolManager()
    • getCopierManager

      public abstract CopierManager getCopierManager()