net.officefloor.plugin.servlet.web.http.application
Class ServletHttpRequestStateManagedObjectSource

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<ServletHttpRequestStateManagedObjectSource.Dependencies,None>
          extended by net.officefloor.plugin.servlet.web.http.application.ServletHttpRequestStateManagedObjectSource
All Implemented Interfaces:
ManagedObjectSource<ServletHttpRequestStateManagedObjectSource.Dependencies,None>

public class ServletHttpRequestStateManagedObjectSource
extends AbstractManagedObjectSource<ServletHttpRequestStateManagedObjectSource.Dependencies,None>

HttpRequestState implemented with the ServletBridge to use the ServletContext.

Author:
Daniel Sagenschneider

Nested Class Summary
static class ServletHttpRequestStateManagedObjectSource.Dependencies
          Dependencies for the ServletHttpRequestStateManagedObjectSource.ServletHttpRequestStateManagedObject.
static class ServletHttpRequestStateManagedObjectSource.ServletHttpRequestStateManagedObject
          ManagedObject for the ServletBridge.
 
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
ServletHttpRequestStateManagedObjectSource()
           
 
Method Summary
protected  ManagedObject getManagedObject()
           
protected  void loadMetaData(AbstractAsyncManagedObjectSource.MetaDataContext<ServletHttpRequestStateManagedObjectSource.Dependencies,None> context)
           
protected  void loadSpecification(AbstractAsyncManagedObjectSource.SpecificationContext context)
           
 
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

ServletHttpRequestStateManagedObjectSource

public ServletHttpRequestStateManagedObjectSource()
Method Detail

loadSpecification

protected void loadSpecification(AbstractAsyncManagedObjectSource.SpecificationContext context)
Specified by:
loadSpecification in class AbstractAsyncManagedObjectSource<ServletHttpRequestStateManagedObjectSource.Dependencies,None>

loadMetaData

protected void loadMetaData(AbstractAsyncManagedObjectSource.MetaDataContext<ServletHttpRequestStateManagedObjectSource.Dependencies,None> context)
                     throws Exception
Specified by:
loadMetaData in class AbstractAsyncManagedObjectSource<ServletHttpRequestStateManagedObjectSource.Dependencies,None>
Throws:
Exception

getManagedObject

protected ManagedObject getManagedObject()
                                  throws Throwable
Specified by:
getManagedObject in class AbstractManagedObjectSource<ServletHttpRequestStateManagedObjectSource.Dependencies,None>
Throws:
Throwable


Copyright © 2005-2012. All Rights Reserved.