Class DefaultContextFactory<T>

java.lang.Object
repast.simphony.context.DefaultContextFactory<T>
All Implemented Interfaces:
ContextFactory<T>

public class DefaultContextFactory<T> extends Object implements ContextFactory<T>
A basic concrete implementation of the ContextFactory interface.
  • Constructor Details

    • DefaultContextFactory

      protected DefaultContextFactory()
  • Method Details

    • createContext

      public Context<T> createContext(Object contextId)
      Description copied from interface: ContextFactory
      Creates a new Context with the given identifier.
      Specified by:
      createContext in interface ContextFactory<T>
      Parameters:
      contextId - the identifier to associate with the created Context object.
      Returns:
      a new Context object.