Package com.sun.corba.ee.impl.oa.toa
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 ORB
private TOAImpl
private TransientObjectManager
private static final ORBUtilSystemException
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfind
(ObjectAdapterId oaid) Find the ObjectAdapter instance that corresponds to the given ObjectAdapterId.private TOAImpl
getORB()
getTOA()
void
Initialize this object adapter factory instance.void
shutdown
(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:ObjectAdapterFactory
Find the ObjectAdapter instance that corresponds to the given ObjectAdapterId.- Specified by:
find
in interfaceObjectAdapterFactory
- Parameters:
oaid
- id to look up- Returns:
- found ObjectAdapter
-
init
Description copied from interface:ObjectAdapterFactory
Initialize this object adapter factory instance.- Specified by:
init
in interfaceObjectAdapterFactory
- 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 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:
getORB
in interfaceObjectAdapterFactory
-