Class AbstractExecutiveSource
- java.lang.Object
-
- net.officefloor.frame.api.executive.source.impl.AbstractExecutiveSource
-
- All Implemented Interfaces:
ExecutiveSource
- Direct Known Subclasses:
DefaultExecutive
,GoogleAppEngineExecutive
,WebThreadAffinityExecutiveSource
public abstract class AbstractExecutiveSource extends java.lang.Object implements ExecutiveSource
AbstractExecutiveSource
.- Author:
- Daniel Sagenschneider
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
AbstractExecutiveSource.SpecificationContext
Context forloadSpecification(SpecificationContext)
.
-
Constructor Summary
Constructors Constructor Description AbstractExecutiveSource()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description ExecutiveSourceSpecification
getSpecification()
Obtains the specification for this.protected abstract void
loadSpecification(AbstractExecutiveSource.SpecificationContext context)
Overridden to load specification.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.officefloor.frame.api.executive.source.ExecutiveSource
createExecutive
-
-
-
-
Method Detail
-
getSpecification
public ExecutiveSourceSpecification getSpecification()
Description copied from interface:ExecutiveSource
Obtains the specification for this.
This will be called before any other methods, therefore this method must be able to return the specification immediately after a default constructor instantiation.
- Specified by:
getSpecification
in interfaceExecutiveSource
- Returns:
- Specification of this.
-
loadSpecification
protected abstract void loadSpecification(AbstractExecutiveSource.SpecificationContext context)
Overridden to load specification.- Parameters:
context
-AbstractExecutiveSource.SpecificationContext
.
-
-