|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface StatelessSessionBuilder
Represents a consolidation of all stateless session creation options into a builder style delegate.
| Method Summary | |
|---|---|
StatelessSessionBuilder |
connection(Connection connection)
Adds a specific connection to the session options |
StatelessSession |
openStatelessSession()
Opens a session with the specified options. |
StatelessSessionBuilder |
tenantIdentifier(String tenantIdentifier)
Define the tenant identifier to be associated with the opened session. |
| Method Detail |
|---|
StatelessSession openStatelessSession()
StatelessSessionBuilder connection(Connection connection)
connection - The connection to use.
this, for method chainingStatelessSessionBuilder tenantIdentifier(String tenantIdentifier)
tenantIdentifier - The tenant identifier.
this, for method chaining
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||