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
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateContext(Object contextId) Creates a newContextwith the given identifier.
-
Constructor Details
-
DefaultContextFactory
protected DefaultContextFactory()
-
-
Method Details
-
createContext
Description copied from interface:ContextFactoryCreates a newContextwith the given identifier.- Specified by:
createContextin interfaceContextFactory<T>- Parameters:
contextId- the identifier to associate with the createdContextobject.- Returns:
- a new
Contextobject.
-