Package repast.simphony.context
Class DefaultContextFactory<T>
java.lang.Object
repast.simphony.context.DefaultContextFactory<T>
- All Implemented Interfaces:
ContextFactory<T>
A basic concrete implementation of the
ContextFactory
interface.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateContext
(Object contextId) Creates a newContext
with the given identifier.
-
Constructor Details
-
DefaultContextFactory
protected DefaultContextFactory()
-
-
Method Details
-
createContext
Description copied from interface:ContextFactory
Creates a newContext
with the given identifier.- Specified by:
createContext
in interfaceContextFactory<T>
- Parameters:
contextId
- the identifier to associate with the createdContext
object.- Returns:
- a new
Context
object.
-