Interface ContextFactory<T>

Type Parameters:
T -
All Known Implementing Classes:
DefaultContextFactory

public interface ContextFactory<T>
Interface defines the capability to create Context objects.
  • Method Summary

    Modifier and Type
    Method
    Description
    createContext(Object contextId)
    Creates a new Context with the given identifier.
  • Method Details

    • createContext

      Context<T> createContext(Object contextId)
      Creates a new Context with the given identifier.
      Parameters:
      contextId - the identifier to associate with the created Context object.
      Returns:
      a new Context object.