|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.officefloor.plugin.web.http.application.HttpApplicationClassManagedObjectSource.HttpApplicationClassManagedObject
public static class HttpApplicationClassManagedObjectSource.HttpApplicationClassManagedObject
ManagedObject to retrieve the object from the
HttpApplicationState.
| Constructor Summary | |
|---|---|
HttpApplicationClassManagedObjectSource.HttpApplicationClassManagedObject(Class<?> objectClass,
String bindName)
Initiate. |
|
| Method Summary | |
|---|---|
Object |
getObject()
Obtains the object being managed. |
void |
loadObjects(ObjectRegistry<HttpApplicationClassManagedObjectSource.Dependencies> registry)
Loads the Objects of the ManagedObject instances to be referenced
by this CoordinatingManagedObject. |
void |
setBoundManagedObjectName(String boundManagedObjectName)
Provides the ManagedObject its bound name. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HttpApplicationClassManagedObjectSource.HttpApplicationClassManagedObject(Class<?> objectClass,
String bindName)
objectClass - Class of the object.bindName - Specific name to bind the object into the
HttpApplicationState.| Method Detail |
|---|
public void setBoundManagedObjectName(String boundManagedObjectName)
NameAwareManagedObjectManagedObject its bound name.
setBoundManagedObjectName in interface NameAwareManagedObjectboundManagedObjectName - Bound name for the ManagedObject.
public void loadObjects(ObjectRegistry<HttpApplicationClassManagedObjectSource.Dependencies> 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<HttpApplicationClassManagedObjectSource.Dependencies>registry - Registry of the Objects for the ManagedObject
instances.
Throwable - Should this CoordinatingManagedObject fail to load
the ManagedObject.
public Object getObject()
throws Throwable
ManagedObject
getObject in interface ManagedObjectThrowable - Indicating failed to obtain the object for use.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||