|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object dermi.SessionFactory
public class SessionFactory
Utility class that connects to the notification service using environment parameters and instantiates the appropriate class provider.
Constructor Summary | |
---|---|
SessionFactory()
|
Method Summary | |
---|---|
static Session |
createSession(java.util.Hashtable env)
Method used to create a session |
static Session |
createSession(java.lang.String envFile)
Method used to create a session |
static Session |
createSession(java.net.URL fileUrl)
Method used to create a session |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SessionFactory()
Method Detail |
---|
public static Session createSession(java.util.Hashtable env) throws SessionException
env
- Hashtable Environment connection properties
SessionException
- Error produced in the connection phasepublic static Session createSession(java.lang.String envFile) throws SessionException
envFile
- Name of the file containing environment connection properties
SessionException
- Error produced in the connection phasepublic static Session createSession(java.net.URL fileUrl) throws SessionException
fileUrl
- URL of the file containing environment connection properties
SessionException
- Error produced in the connection phase.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |