public class HttpRequestObjectManagedObjectSource.HttpRequestObjectManagedObject extends Object implements NameAwareManagedObject, CoordinatingManagedObject<Indexed>
ManagedObject
to retrieve the object from the
HttpRequestState
.Constructor and Description |
---|
HttpRequestObjectManagedObject() |
Modifier and Type | Method and Description |
---|---|
Object |
getObject()
Obtains the object being managed.
|
void |
loadObjects(ObjectRegistry<Indexed> registry)
Loads the Objects of the
ManagedObject instances to be referenced
by this CoordinatingManagedObject . |
void |
setBoundManagedObjectName(String boundManagedObjectName)
Provides the
ManagedObject its bound name. |
public void setBoundManagedObjectName(String boundManagedObjectName)
NameAwareManagedObject
ManagedObject
its bound name.setBoundManagedObjectName
in interface NameAwareManagedObject
boundManagedObjectName
- Bound name for the ManagedObject
.public void loadObjects(ObjectRegistry<Indexed> registry) throws Throwable
CoordinatingManagedObject
Loads the Objects of the ManagedObject
instances to be referenced
by this CoordinatingManagedObject
.
References to the loaded Objects must be released on recycling the
ManagedObject
.
loadObjects
in interface CoordinatingManagedObject<Indexed>
registry
- Registry of the Objects for the ManagedObject
instances.Throwable
- Should this CoordinatingManagedObject
fail to load
the ManagedObject
.public Object getObject()
ManagedObject
getObject
in interface ManagedObject
Copyright © 2005–2016. All rights reserved.