Overview Package Class Tree Serialized Deprecated Index Help PREV class NEXT class SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD
com.lotus.cs
Class CSFactoryjava.lang.Object com.lotus.cs.CSFactory
- public class CSFactory
- extends java.lang.Object
The CSFactory object is used to instantiate the Java service objects. The CSFactory has 2 methods (2 different versions of getService).
getService(CSCredentials cred, String serviceType)
Use this version when you wish to use the Lotus Collaborative servers which are configured in the environment.
For this method, theserviceType parameter may be one of these 4:
CSFactory.DOMINO_SERVICE
CSFactory.DISCOVERY_SERVER_SERVICE
CSFactory.QUICKPLACE_SERVICE
CSFactory.PERSON_SERVICE
getService(CSCredentials cred, String serviceType, String server, String protocol)
Use this version when you wish to specify the Lotus server to connect to (or if you wish to over-ride the servers which are configured in the environment.
For this method, theserviceType parameter may be one of these 3:
CSFactory.DOMINO_SERVICE
CSFactory.DISCOVERY_SERVER_SERVICE
CSFactory.QUICKPLACE_SERVICE
Field Summary static java.lang.String DISCOVERY_SERVER_SERVICE
Collaborative service type (to be passed to the getService method)static java.lang.String DOMINO_SERVICE
Collaborative service type (to be passed to the getService method)static java.lang.String PERSON_SERVICE
Collaborative service type (to be passed to the getService method)static java.lang.String QUICKPLACE_SERVICE
Collaborative service type (to be passed to the getService method)static java.lang.String SAMETIME_SERVICE
Collaborative service type (to be passed to the getService method)
Constructor Summary CSFactory()
Method Summary static CSBaseService getService(CSCredentials cred, java.lang.String serviceType)
Use this version of getService when you wish to use the Lotus Collaborative servers which are configured in the environment.static CSBaseService getService(CSCredentials cred, java.lang.String serviceType, java.lang.String server, java.lang.String protocol)
Use this version when you wish to specify the Lotus server to connect to (or if you wish to over-ride the servers which are configured in the environment).
Methods inherited from class java.lang.Object clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Field Detail DISCOVERY_SERVER_SERVICE
public static final java.lang.String DISCOVERY_SERVER_SERVICE
- Collaborative service type (to be passed to the getService method)
- See Also:
- Constant Field Values
QUICKPLACE_SERVICE
public static final java.lang.String QUICKPLACE_SERVICE
- Collaborative service type (to be passed to the getService method)
- See Also:
- Constant Field Values
DOMINO_SERVICE
public static final java.lang.String DOMINO_SERVICE
- Collaborative service type (to be passed to the getService method)
- See Also:
- Constant Field Values
PERSON_SERVICE
public static final java.lang.String PERSON_SERVICE
- Collaborative service type (to be passed to the getService method)
- See Also:
- Constant Field Values
SAMETIME_SERVICE
public static final java.lang.String SAMETIME_SERVICE
- Collaborative service type (to be passed to the getService method)
- See Also:
- Constant Field Values
Constructor Detail CSFactory
public CSFactory()
Method Detail getService
public static CSBaseService getService(CSCredentials cred, java.lang.String serviceType)
- Use this version of getService when you wish to use the Lotus Collaborative servers which are configured in the environment. Note: when using this version with
CSFactory.DOMINO_SERVICE, this will create a DominoService object for the Domino Directory server. To create a DominoService object for another Domino server, use the other version of getService.
- Parameters:
- cred - may be obtained using CSEnvironment.getCredentials
- serviceType - may be one of:
CSFactory.DOMINO_SERVICE,
CSFactory.DISCOVERY_SERVER_SERVICE,
CSFactory.QUICKPLACE_SERVICE,
CSFactory.PERSON_SERVICE
- See Also:
- getService(CSCredentials cred, String serviceType, String server, String protocol), CSEnvironment, CSCredentials
getService
public static CSBaseService getService(CSCredentials cred, java.lang.String serviceType, java.lang.String server, java.lang.String protocol)
- Use this version when you wish to specify the Lotus server to connect to (or if you wish to over-ride the servers which are configured in the environment).
- Parameters:
- cred - may be obtained using CSEnvironment.getCredentials
- serviceType - may be one of:
CSFactory.DOMINO_SERVICE,
CSFactory.DISCOVERY_SERVER_SERVICE,
CSFactory.QUICKPLACE_SERVICE,
CSFactory.PERSON_SERVICE
- server - should be specified using internet name (example, "myserver.mycompany.com")
- protocol - "http" (the default) or "https".
- See Also:
- getService(CSCredentials cred, String serviceType), CSEnvironment, CSCredentials
Overview Package Class Tree Serialized Deprecated Index Help PREV class NEXT class SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD
WebSphere is a trademark of the IBM Corporation in the United States, other countries, or both.
IBM is a trademark of the IBM Corporation in the United States, other countries, or both.