Interface ExecutiveSource
-
- All Known Implementing Classes:
AbstractExecutiveSource
,DefaultExecutive
,GoogleAppEngineExecutive
,WebThreadAffinityExecutiveSource
public interface ExecutiveSource
Source to obtain theExecutive
.- Author:
- Daniel Sagenschneider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Executive
createExecutive(ExecutiveSourceContext context)
Creates theExecutive
.ExecutiveSourceSpecification
getSpecification()
Obtains the specification for this.
-
-
-
Method Detail
-
getSpecification
ExecutiveSourceSpecification getSpecification()
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.
- Returns:
- Specification of this.
-
createExecutive
Executive createExecutive(ExecutiveSourceContext context) throws java.lang.Exception
Creates theExecutive
.- Parameters:
context
-ExecutiveSourceContext
.- Returns:
Executive
.- Throws:
java.lang.Exception
- If fails to configure theExecutiveSource
.
-
-