public class HttpApplicationObjectManagedObjectSource extends AbstractManagedObjectSource<HttpApplicationObjectManagedObjectSource.Dependencies,None>
Modifier and Type | Class and Description |
---|---|
static class |
HttpApplicationObjectManagedObjectSource.Dependencies
Dependency keys for the
HttpApplicationObjectManagedObjectSource.HttpApplicationObjectManagedObject . |
static class |
HttpApplicationObjectManagedObjectSource.HttpApplicationObjectManagedObject
ManagedObject to retrieve the object from the
HttpApplicationState . |
AbstractAsyncManagedObjectSource.DependencyLabeller, AbstractAsyncManagedObjectSource.Labeller, AbstractAsyncManagedObjectSource.MetaDataContext<D extends Enum<D>,F extends Enum<F>>, AbstractAsyncManagedObjectSource.SpecificationContext
Modifier and Type | Field and Description |
---|---|
static String |
PROPERTY_BIND_NAME
Name of property containing the name to bind the object within the
HttpApplicationState . |
static String |
PROPERTY_CLASS_NAME
Name of property containing the class name.
|
Constructor and Description |
---|
HttpApplicationObjectManagedObjectSource() |
Modifier and Type | Method and Description |
---|---|
protected ManagedObject |
getManagedObject()
Synchronously obtains the
ManagedObject . |
protected void |
loadMetaData(AbstractAsyncManagedObjectSource.MetaDataContext<HttpApplicationObjectManagedObjectSource.Dependencies,None> context)
Overridden to load meta-data.
|
protected void |
loadSpecification(AbstractAsyncManagedObjectSource.SpecificationContext context)
Overridden to load specifications.
|
sourceManagedObject
getMetaData, getSpecification, init, start, stop
public static final String PROPERTY_CLASS_NAME
public static final String PROPERTY_BIND_NAME
HttpApplicationState
.public HttpApplicationObjectManagedObjectSource()
protected void loadSpecification(AbstractAsyncManagedObjectSource.SpecificationContext context)
AbstractAsyncManagedObjectSource
loadSpecification
in class AbstractAsyncManagedObjectSource<HttpApplicationObjectManagedObjectSource.Dependencies,None>
context
- Specifications.protected void loadMetaData(AbstractAsyncManagedObjectSource.MetaDataContext<HttpApplicationObjectManagedObjectSource.Dependencies,None> context) throws Exception
AbstractAsyncManagedObjectSource
loadMetaData
in class AbstractAsyncManagedObjectSource<HttpApplicationObjectManagedObjectSource.Dependencies,None>
context
- Meta-data.Exception
- If fails to load the meta-data.protected ManagedObject getManagedObject() throws Throwable
AbstractManagedObjectSource
ManagedObject
.getManagedObject
in class AbstractManagedObjectSource<HttpApplicationObjectManagedObjectSource.Dependencies,None>
ManagedObject
.Throwable
- If fails to obtain the ManagedObject
.Copyright © 2005–2016. All rights reserved.