net.officefloor.plugin.servlet.web.http.session
Class ServletHttpSessionManagedObjectSource

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

public class ServletHttpSessionManagedObjectSource
extends AbstractManagedObjectSource<ServletHttpSessionManagedObjectSource.DependencyKeys,None>

ManagedObjectSource providing a HttpSession implementation backed by a ServletBridge.

Author:
Daniel Sagenschneider

Nested Class Summary
static class ServletHttpSessionManagedObjectSource.DependencyKeys
          Dependency keys for the ServletHttpSessionManagedObjectSource.
 class ServletHttpSessionManagedObjectSource.ServletHttpSessionManagedObject
          ManagedObject for the ServletHttpSession.
 
Nested classes/interfaces inherited from class net.officefloor.frame.spi.managedobject.source.impl.AbstractAsyncManagedObjectSource
AbstractAsyncManagedObjectSource.Labeller, AbstractAsyncManagedObjectSource.MetaDataContext<D extends Enum<D>,F extends Enum<F>>, AbstractAsyncManagedObjectSource.SpecificationContext
 
Constructor Summary
ServletHttpSessionManagedObjectSource()
           
 
Method Summary
protected  ManagedObject getManagedObject()
           
protected  void loadMetaData(AbstractAsyncManagedObjectSource.MetaDataContext<ServletHttpSessionManagedObjectSource.DependencyKeys,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

ServletHttpSessionManagedObjectSource

public ServletHttpSessionManagedObjectSource()
Method Detail

loadSpecification

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

loadMetaData

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

getManagedObject

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


Copyright © 2005-2011. All Rights Reserved.