Class AbstractNamespaced<T>
java.lang.Object
io.fluxzero.sdk.common.AbstractNamespaced<T>
- All Implemented Interfaces:
Namespaced<T>
- Direct Known Subclasses:
AbstractClient, BatchingHandlerRepository, CachingAggregateRepository, DefaultAggregateRepository, DefaultCommandGateway, DefaultDocumentStore, DefaultErrorGateway, DefaultEventGateway, DefaultEventStore, DefaultGenericGateway, DefaultHandlerRepository, DefaultKeyValueStore, DefaultMessageScheduler, DefaultMetricsGateway, DefaultQueryGateway, DefaultRequestHandler, DefaultResultGateway, DefaultSnapshotStore, DefaultWebRequestGateway, LocalDocumentHandlerRegistry, ProxyRequestHandler, WebResponseGateway
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidclose()protected abstract TcreateForNamespace(String namespace) forNamespace(String namespace) Returns the resource scoped to the specified namespace.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Namespaced
forApplicationNamespace, forDefaultNamespace
-
Constructor Details
-
AbstractNamespaced
public AbstractNamespaced()
-
-
Method Details
-
createForNamespace
-
forNamespace
Description copied from interface:NamespacedReturns the resource scoped to the specified namespace. Passingnullselects the namespace configured for this application.- Specified by:
forNamespacein interfaceNamespaced<T>- Parameters:
namespace- the namespace to which the returned resource is scoped, ornullfor the application namespace- Returns:
- the resource associated with the specified namespace
-
close
protected void close()
-