| 
 | ||||||||||
| 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 | CONFERENCEThe Conference Service | 
| static int | MAJOR_VERSIONmajor version number | 
| static int | MINOR_VERSIONminor version number | 
| static java.lang.String | NEWSThe News Service is an instant bulletin board service. | 
| static java.lang.String | NOTIFICATIONThe Notification Service allows you to send and receive acknowledged messages. | 
| static java.lang.String | PERSONALSTOREThe Personal Store service allows you to access your personal information including your contact list or application configuration information. | 
| static java.lang.String | PRESENCEThe presence Service lets you query other's availability and publish yours. | 
| static java.lang.String | systemPropertySystem 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.
CollaborationExceptionpublic CollaborationSessionProvider getCollaborationSessionProvider()
public void close()
| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||