net.officefloor.plugin.web.http.application
Class HttpApplicationStateManagedObjectSource

java.lang.Object
  extended by net.officefloor.frame.spi.managedobject.source.impl.AbstractAsyncManagedObjectSource<D,F>
      extended by net.officefloor.frame.spi.managedobject.source.impl.AbstractManagedObjectSource<None,None>
          extended by net.officefloor.plugin.web.http.application.HttpApplicationStateManagedObjectSource
All Implemented Interfaces:
ManagedObjectSource<None,None>

public class HttpApplicationStateManagedObjectSource
extends AbstractManagedObjectSource<None,None>

ManagedObjectSource for the HttpRequestState.

Author:
Daniel Sagenschneider

Nested Class Summary
 
Nested classes/interfaces inherited from class net.officefloor.frame.spi.managedobject.source.impl.AbstractAsyncManagedObjectSource
AbstractAsyncManagedObjectSource.DependencyLabeller, AbstractAsyncManagedObjectSource.Labeller, AbstractAsyncManagedObjectSource.MetaDataContext<D extends Enum<D>,F extends Enum<F>>, AbstractAsyncManagedObjectSource.SpecificationContext
 
Constructor Summary
HttpApplicationStateManagedObjectSource()
           
 
Method Summary
protected  ManagedObject getManagedObject()
          Synchronously obtains the ManagedObject.
protected  void loadMetaData(AbstractAsyncManagedObjectSource.MetaDataContext<None,None> context)
          Overridden to load meta-data.
protected  void loadSpecification(AbstractAsyncManagedObjectSource.SpecificationContext context)
          Overridden to load specifications.
 
Methods inherited from class net.officefloor.frame.spi.managedobject.source.impl.AbstractManagedObjectSource
sourceManagedObject
 
Methods inherited from class net.officefloor.frame.spi.managedobject.source.impl.AbstractAsyncManagedObjectSource
getMetaData, getSpecification, init, start, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HttpApplicationStateManagedObjectSource

public HttpApplicationStateManagedObjectSource()
Method Detail

loadSpecification

protected void loadSpecification(AbstractAsyncManagedObjectSource.SpecificationContext context)
Description copied from class: AbstractAsyncManagedObjectSource
Overridden to load specifications.

Specified by:
loadSpecification in class AbstractAsyncManagedObjectSource<None,None>
Parameters:
context - Specifications.

loadMetaData

protected void loadMetaData(AbstractAsyncManagedObjectSource.MetaDataContext<None,None> context)
                     throws Exception
Description copied from class: AbstractAsyncManagedObjectSource
Overridden to load meta-data.

Specified by:
loadMetaData in class AbstractAsyncManagedObjectSource<None,None>
Parameters:
context - Meta-data.
Throws:
Exception - If fails to load the meta-data.

getManagedObject

protected ManagedObject getManagedObject()
                                  throws Throwable
Description copied from class: AbstractManagedObjectSource
Synchronously obtains the ManagedObject.

Specified by:
getManagedObject in class AbstractManagedObjectSource<None,None>
Returns:
ManagedObject.
Throws:
Throwable - If fails to obtain the ManagedObject.


Copyright © 2005-2013. All Rights Reserved.