Class AbstractNamespaced<T>

java.lang.Object
io.fluxzero.sdk.common.AbstractNamespaced<T>
All Implemented Interfaces:
Namespaced<T>
Direct Known Subclasses:
DefaultDocumentStore, DefaultGenericGateway, DefaultMessageScheduler, DefaultResultGateway, ProxyRequestHandler, WebResponseGateway

public abstract class AbstractNamespaced<T> extends Object implements Namespaced<T>
  • Constructor Details

    • AbstractNamespaced

      public AbstractNamespaced()
  • Method Details

    • createForNamespace

      protected abstract T createForNamespace(String namespace)
    • forNamespace

      public final T forNamespace(String namespace)
      Description copied from interface: Namespaced
      Creates and returns the resource scoped to the specified namespace.
      Specified by:
      forNamespace in interface Namespaced<T>
      Parameters:
      namespace - the namespace to which the returned resource is scoped
      Returns:
      the resource associated with the specified namespace
    • close

      protected void close()