Overview | Package | Class | Tree | Deprecated | Index | Help
| Copyright © 2006 BEA Systems, Inc. All Rights Reserved
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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.

Method Summary
`static ISession` | `createSession(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

### 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

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2006 BEA Systems, Inc. All Rights Reserved