public final class QuerySessionContext
extends java.lang.Object
Constructor and Description |
---|
QuerySessionContext()
Construct a new session context for the Event Store session.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getEventStorePassword() |
java.lang.String |
getEventStoreUser() |
java.lang.String |
getEventTypeStoreLocation() |
java.lang.String |
getOption(java.lang.String name)
Return the value of the option speciifed by name.
|
java.util.List<java.lang.String> |
getOptionKeys()
Return a list of all the specified option names.
|
void |
setEventStorePassword(java.lang.String eventStorePassword)
Set the password associated with the user.
|
void |
setEventStoreUser(java.lang.String eventStoreUser)
Set the user under which all operations are performed.
|
void |
setEventTypeStoreLocation(java.lang.String eventTypeStoreLocation)
Set the location of the EDA Event Type Store.
|
void |
setOption(java.lang.String name,
java.lang.String value)
Set the value for the session option specified by name.
|
void |
validate()
Some storage technologies don't require a user name or password.
|
public QuerySessionContext()
public java.lang.String getEventStoreUser()
public void setEventStoreUser(java.lang.String eventStoreUser)
eventStoreUser
- The user to use to create the query session.public java.lang.String getEventStorePassword()
public void setEventStorePassword(java.lang.String eventStorePassword)
eventStorePassword
- The password associated with the user.public java.lang.String getEventTypeStoreLocation()
public void setEventTypeStoreLocation(java.lang.String eventTypeStoreLocation)
eventTypeStoreLocation
- The location of the Event Type Store.public void setOption(java.lang.String name, java.lang.String value)
name
- The name of the option to be set.value
- The options value.public java.lang.String getOption(java.lang.String name)
name
- The name of the option to retrieve.public java.util.List<java.lang.String> getOptionKeys()
public void validate()