|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.im.service.CollaborationSessionFactory
This class is a Factory class, which can be used to create
CollborationSessions. It uses an implementation of
CollaborationSessionProvider to create Collaborationsessions.
The no argument constructor uses the java system property
to identify the class name of the CollaborationSessionProvider
implementation. Alternatively the other constructor takes the name of the
class implementing the CollaborationSessionProvider interface.
For a list of supported CollaborationSessionProvier implementations refer
to your API provider's documentation.
For a descripton of serviceURL refer to your API provider's documentation.
Starting point used to create sessions.
Field Summary | |
static java.lang.String |
CONFERENCE
The Conference Service |
static int |
MAJOR_VERSION
major version number |
static int |
MINOR_VERSION
minor version number |
static java.lang.String |
NEWS
The News Service is an instant bulletin board service. |
static java.lang.String |
NOTIFICATION
The Notification Service allows you to send and receive acknowledged messages. |
static java.lang.String |
PERSONALSTORE
The Personal Store service allows you to access your personal information including your contact list or application configuration information. |
static java.lang.String |
PRESENCE
The presence Service lets you query other's availability and publish yours. |
static java.lang.String |
systemProperty
System property containing the name of the CollaborationSessionFactory to use. |
Constructor Summary | |
CollaborationSessionFactory()
|
|
CollaborationSessionFactory(java.lang.String className)
|
Method Summary | |
void |
close()
|
CollaborationSessionProvider |
getCollaborationSessionProvider()
|
CollaborationSession |
getSession(java.lang.String serviceUrl,
java.lang.String loginName,
java.lang.String password,
CollaborationSessionListener listener)
creates a collaboration session. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int MAJOR_VERSION
public static final int MINOR_VERSION
public static final java.lang.String CONFERENCE
public static final java.lang.String NEWS
public static final java.lang.String PRESENCE
public static final java.lang.String NOTIFICATION
public static final java.lang.String PERSONALSTORE
public static final java.lang.String systemProperty
Constructor Detail |
public CollaborationSessionFactory() throws java.lang.Exception
public CollaborationSessionFactory(java.lang.String className) throws java.lang.Exception
Method Detail |
public CollaborationSession getSession(java.lang.String serviceUrl, java.lang.String loginName, java.lang.String password, CollaborationSessionListener listener) throws CollaborationException
serviceUrl
- URL for the authentication service (hostname and port).loginName
- login namepassword
- user passwordlistener
- session listener to convey asynchronous errors and events.
CollaborationException
public CollaborationSessionProvider getCollaborationSessionProvider()
public void close()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |