Class DefaultContextFactory<T>

  • All Implemented Interfaces:

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

      • DefaultContextFactory

        protected DefaultContextFactory()
    • Method Detail

      • 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>
        contextId - the identifier to associate with the created Context object.
        a new Context object.