net.officefloor.plugin.servlet.host.source
Class ServletServerManagedObjectSource

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.servlet.host.source.ServletServerManagedObjectSource
All Implemented Interfaces:
ManagedObject, ManagedObjectSource<None,None>

public class ServletServerManagedObjectSource
extends AbstractManagedObjectSource<None,None>
implements ManagedObject

ManagedObjectSource for a ServletServer.

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
 
Field Summary
static String DEFAULT_CLASS_PATH_PREFIX
          Following in the naming convention of WEB-INF this is the default class path prefix.
static String PROPERTY_CLASS_PATH_PREFIX
          Property name to specify the class path prefix for locating resources.
static String PROPERTY_CONTEXT_PATH
          Property name to specify the context path.
static String PROPERTY_SERVER_NAME
          Property name to specify the server name.
static String PROPERTY_SERVER_PORT
          Property name to specify the server port.
 
Constructor Summary
ServletServerManagedObjectSource()
           
 
Method Summary
protected  ManagedObject getManagedObject()
           
 Object getObject()
           
protected  void loadMetaData(AbstractAsyncManagedObjectSource.MetaDataContext<None,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
 

Field Detail

PROPERTY_SERVER_NAME

public static final String PROPERTY_SERVER_NAME
Property name to specify the server name.

See Also:
Constant Field Values

PROPERTY_SERVER_PORT

public static final String PROPERTY_SERVER_PORT
Property name to specify the server port.

See Also:
Constant Field Values

PROPERTY_CONTEXT_PATH

public static final String PROPERTY_CONTEXT_PATH
Property name to specify the context path.

See Also:
Constant Field Values

PROPERTY_CLASS_PATH_PREFIX

public static final String PROPERTY_CLASS_PATH_PREFIX
Property name to specify the class path prefix for locating resources.

See Also:
Constant Field Values

DEFAULT_CLASS_PATH_PREFIX

public static final String DEFAULT_CLASS_PATH_PREFIX
Following in the naming convention of WEB-INF this is the default class path prefix.

See Also:
Constant Field Values
Constructor Detail

ServletServerManagedObjectSource

public ServletServerManagedObjectSource()
Method Detail

loadSpecification

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

loadMetaData

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

getManagedObject

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

getObject

public Object getObject()
                 throws Throwable
Specified by:
getObject in interface ManagedObject
Throws:
Throwable


Copyright © 2005-2012. All Rights Reserved.