Class DefaultQueryGateway
java.lang.Object
io.fluxzero.sdk.common.AbstractNamespaced<QueryGateway>
io.fluxzero.sdk.publishing.DefaultQueryGateway
- All Implemented Interfaces:
Namespaced<QueryGateway>, QueryGateway, HasLocalHandlers
Default implementation of the
QueryGateway interface.
This class delegates all operations defined in the QueryGateway interface to an underlying
GenericGateway instance.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected QueryGatewaycreateForNamespace(String namespace) forNamespace(String namespace) Returns the resource scoped to the specified namespace.Methods inherited from class AbstractNamespaced
closeMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface HasLocalHandlers
hasLocalHandlers, registerHandler, registerHandler, setSelfHandlerFilterMethods inherited from interface Namespaced
forApplicationNamespace, forDefaultNamespaceMethods inherited from interface QueryGateway
close, send, send, send, send, send, sendAndWait, sendAndWait, sendAndWait, sendAndWait, sendForMessage, sendForMessages
-
Constructor Details
-
DefaultQueryGateway
public DefaultQueryGateway()
-
-
Method Details
-
createForNamespace
- Specified by:
createForNamespacein classAbstractNamespaced<QueryGateway>
-
forNamespace
Description copied from interface:NamespacedReturns the resource scoped to the specified namespace. Passingnullselects the namespace configured for this application.- Specified by:
forNamespacein interfaceNamespaced<QueryGateway>- Overrides:
forNamespacein classAbstractNamespaced<QueryGateway>- Parameters:
namespace- the namespace to which the returned resource is scoped, ornullfor the application namespace- Returns:
- the resource associated with the specified namespace
-