com.compoze.collab
Class SessionFactory
java.lang.Object
com.compoze.collab.SessionFactory
public class SessionFactory
- extends Object
The SessionFactory
class is used to construct session based on the
creation parameters specified by a client.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
createSession
public static ISession createSession(Map properties)
throws CollaborationException
- Creates an instance of
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.
- Parameters
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.
- Throws
CollaborationException
- if validation of the specified session
properties failed
Copyright © 2006 BEA Systems, Inc. All Rights Reserved