public final class QuerySessionManager extends java.lang.Object implements QuerySessionFactory
Constructor and Description |
---|
QuerySessionManager() |
Modifier and Type | Method and Description |
---|---|
QuerySession |
createSession(java.net.URI eventStoreURI,
QuerySessionContext context)
Create a query session to the Event Store instance specified by URL.
|
public QuerySession createSession(java.net.URI eventStoreURI, QuerySessionContext context) throws QuerySessionException
QuerySessionFactory
createSession
in interface QuerySessionFactory
eventStoreURI
- URI indicating the type and location of the Event Store instance.context
- properties used to create and establish the query session.QuerySessionException
- on error.