public interface SessionInfoFactory
SessionInfo.| Modifier and Type | Method and Description |
|---|---|
SessionInfo |
create()
Creates a session info from the default property file holding the connection parameters.
|
SessionInfo |
create(Properties properties)
Creates a session info from a properties object.
|
SessionInfo |
create(String propertiesName)
Creates a session info from a property file holding the connection parameters.
|
SessionInfo |
create(String username,
char[] password,
String propertiesName)
Creates a session info from a username, password and
property file holding the connection parameters.
|
static SessionInfoFactory |
getInstance()
The singleton.
|
static SessionInfoFactory getInstance()
SessionInfo create(String username, char[] password, String propertiesName)
username - is the name of the user, null if System.getProperty("user.name")password - is the password, null if nonepropertiesName - name of additional properties resource, null if defaultSessionInfo create(String propertiesName)
propertiesName - name of additional properties resource, null if defaultSessionInfo create(Properties properties)
properties - the propertiesSessionInfo create()
Tentackle - distributed, domain- and model-driven