|
Oracle | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.compoze.collab.SessionFactory
public class SessionFactory
The SessionFactory
class is used to construct session based on the
creation parameters specified by a client.
Method Summary | |
---|---|
static ISession |
createSession(java.util.Map properties)
Creates an instance of ISession . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static ISession createSession(java.util.Map properties) throws CollaborationException
ISession
. The properties
needed to create the session may be found in the documentation for this
method plus the documentation for the provider specific session you are
trying to open (references to provider specific session classes are in the
See Also section.
The session is not actually opened until its open
method is called.
properties
- the properties needed to instantiate the session
(properties include the common properties
listed as PROP_
constants in
ISession
plus any provider specific
properties). Note that the implementation backing the
specified Map
must be serializable
if the session is to be serialized.
CollaborationException
- if validation of the specified session
properties failed
|
Oracle | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |