com.filenet.wcm.apps.server.util
Class WcmISServer

java.lang.Object
  extended bycom.filenet.wcm.apps.server.util.WcmISServer

public class WcmISServer
extends java.lang.Object

This class is a helper class to analyze a IS server name and manage caching of server credentials.


Constructor Summary
WcmISServer(java.lang.String sServerName, com.filenet.wcm.toolkit.server.util.WcmDataStore dataStore, java.util.Locale locale)
          Creates an instance of WcmISServer.
 
Method Summary
 WcmISServerCredentials getCredentials(java.util.Locale locale)
          Returns a credential object.
static java.lang.String getCurrentServerName(com.filenet.wcm.toolkit.server.util.WcmDataStore dataStore)
           
 java.lang.String getDomain()
          Returns a String that represents the domain name.
 java.lang.String getOrganization()
          Returns a String that represents the organization name.
 java.lang.String getServerJNDIName()
          Returns a String that represents the JNDI name for the IS server.
 java.lang.String getServerName()
          Returns a String that represents the server.
 void setCredentials(WcmISServerCredentials serverCredentials, java.util.Locale locale)
          Sets a credential object.
static void setCurrentServerName(java.lang.String sServerName, com.filenet.wcm.toolkit.server.util.WcmDataStore dataStore)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WcmISServer

public WcmISServer(java.lang.String sServerName,
                   com.filenet.wcm.toolkit.server.util.WcmDataStore dataStore,
                   java.util.Locale locale)
            throws com.filenet.wcm.toolkit.util.WcmException
Creates an instance of WcmISServer.

Method Detail

getCurrentServerName

public static java.lang.String getCurrentServerName(com.filenet.wcm.toolkit.server.util.WcmDataStore dataStore)

setCurrentServerName

public static void setCurrentServerName(java.lang.String sServerName,
                                        com.filenet.wcm.toolkit.server.util.WcmDataStore dataStore)
                                 throws com.filenet.wcm.toolkit.util.WcmException
Throws:
com.filenet.wcm.toolkit.util.WcmException

getDomain

public java.lang.String getDomain()
Returns a String that represents the domain name.


getOrganization

public java.lang.String getOrganization()
Returns a String that represents the organization name.


getServerName

public java.lang.String getServerName()
Returns a String that represents the server.


getServerJNDIName

public java.lang.String getServerJNDIName()
Returns a String that represents the JNDI name for the IS server.


getCredentials

public WcmISServerCredentials getCredentials(java.util.Locale locale)
                                      throws com.filenet.wcm.toolkit.util.WcmException
Returns a credential object.

Throws:
com.filenet.wcm.toolkit.util.WcmException

setCredentials

public void setCredentials(WcmISServerCredentials serverCredentials,
                           java.util.Locale locale)
                    throws com.filenet.wcm.toolkit.util.WcmException
Sets a credential object.

Throws:
com.filenet.wcm.toolkit.util.WcmException


© Copyright IBM Corp. 2002, 2007. All Rights Reserved.