Package com.groiss.wf
Class SessionFactory
java.lang.Object
com.groiss.wf.SessionFactory
Deprecated, for removal: This API element is subject to removal in a future version.
The Session Factory is used to create remote (RMI) or local sessions to @enterprise.
-
Constructor Summary
ConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionstatic Session
Deprecated, for removal: This API element is subject to removal in a future version.Create a session with the default properties.static Session
createSession
(String classname, Properties props) Deprecated, for removal: This API element is subject to removal in a future version.Create a session of the given classname and a property listabstract Session
createSession
(Properties props) Deprecated, for removal: This API element is subject to removal in a future version.Create the session, must be implemented by subclass.static void
setDefaultFactory
(String classname, Properties props) Deprecated, for removal: This API element is subject to removal in a future version.Set the default properties.
-
Constructor Details
-
SessionFactory
public SessionFactory()Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
createSession
Deprecated, for removal: This API element is subject to removal in a future version.Create a session of the given classname and a property list- Parameters:
classname
- the name of a subclass of SessionFactoryprops
- the connection properties- Returns:
- a session object
- Throws:
Exception
-
createSession
Deprecated, for removal: This API element is subject to removal in a future version.Create a session with the default properties. The default properties are: factory class: com.groiss.avw.LocalSessionFactory, properties: null. They can be set with the methodsetDefaultFactory(String, Properties)
- Throws:
Exception
-
setDefaultFactory
Deprecated, for removal: This API element is subject to removal in a future version.Set the default properties.- Parameters:
classname
- the name of a subclass of SessionFactoryprops
- the connection properties
-
createSession
Deprecated, for removal: This API element is subject to removal in a future version.Create the session, must be implemented by subclass.- Throws:
Exception
-