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 Summary
FieldsModifier and TypeFieldDescriptionprivate ORBprivate TOAImplprivate TransientObjectManagerprivate static final ORBUtilSystemException -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfind(ObjectAdapterId oaid) Find the ObjectAdapter instance that corresponds to the given ObjectAdapterId.private TOAImplgetORB()getTOA()voidInitialize this object adapter factory instance.voidshutdown(boolean waitForCompletion) Shutdown all object adapters and other state associated with this factory.
-
Field Details
-
wrapper
-
orb
-
toa
-
codebaseToTOA
-
tom
-
-
Constructor Details
-
TOAFactory
public TOAFactory()
-
-
Method Details
-
getDefaultTOA
@ManagedAttribute @Description("The default TOA used only for dispatch, not objref creation") private TOAImpl getDefaultTOA() -
getCodebaseMap
-
find
Description copied from interface:ObjectAdapterFactoryFind the ObjectAdapter instance that corresponds to the given ObjectAdapterId.- Specified by:
findin interfaceObjectAdapterFactory- Parameters:
oaid- id to look up- Returns:
- found ObjectAdapter
-
init
Description copied from interface:ObjectAdapterFactoryInitialize this object adapter factory instance.- Specified by:
initin interfaceObjectAdapterFactory- Parameters:
orb- to use for initalisation
-
shutdown
public void shutdown(boolean waitForCompletion) Description copied from interface:ObjectAdapterFactoryShutdown all object adapters and other state associated with this factory.- Specified by:
shutdownin interfaceObjectAdapterFactory- Parameters:
waitForCompletion- if true then wait for all ongoing requests to finish before shutting down, if false then shutdown immediatly.
-
getTOA
-
getTOA
-
getORB
- Specified by:
getORBin interfaceObjectAdapterFactory
-