@Service(value=SessionInfoFactory.class) public class DefaultSessionInfoFactory extends Object implements SessionInfoFactory
| Constructor and Description |
|---|
DefaultSessionInfoFactory() |
| 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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetInstancepublic SessionInfo create(String username, char[] password, String propertiesName)
SessionInfoFactorycreate in interface SessionInfoFactoryusername - 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 defaultpublic SessionInfo create(String propertiesName)
SessionInfoFactorycreate in interface SessionInfoFactorypropertiesName - name of additional properties resource, null if defaultpublic SessionInfo create(Properties properties)
SessionInfoFactorycreate in interface SessionInfoFactoryproperties - the propertiespublic SessionInfo create()
SessionInfoFactorycreate in interface SessionInfoFactoryTentackle - distributed, domain- and model-driven