com.ca.dso.itpam.webservice.client
Class ItpamWebServiceClientFactory

java.lang.Object
  extended by com.ca.dso.itpam.webservice.client.ItpamWebServiceClientFactory

public class ItpamWebServiceClientFactory
extends java.lang.Object


Nested Class Summary
 class ItpamWebServiceClientFactory.ItpamWebServiceClientFactoryException
          Exception class instantiated and thrown when an exception is detected.
 
Field Summary
static java.lang.String CACOPYRIGHT
          Public string constant required by CA
 
Constructor Summary
ItpamWebServiceClientFactory()
          Constructor
 
Method Summary
 ItpamWebServiceClient getInstanceOf(java.lang.String strTargetEndpointVersion, java.lang.String strTargetEndpointURI, java.lang.String strUser, java.lang.String strPassword)
          Instantiates and returns instance of appropriate web service based on specified target end point version.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CACOPYRIGHT

public static final java.lang.String CACOPYRIGHT
Public string constant required by CA

See Also:
Constant Field Values
Constructor Detail

ItpamWebServiceClientFactory

public ItpamWebServiceClientFactory()
Constructor

Method Detail

getInstanceOf

public ItpamWebServiceClient getInstanceOf(java.lang.String strTargetEndpointVersion,
                                           java.lang.String strTargetEndpointURI,
                                           java.lang.String strUser,
                                           java.lang.String strPassword)
                                    throws ItpamWebServiceClientFactory.ItpamWebServiceClientFactoryException
Instantiates and returns instance of appropriate web service based on specified target end point version.

Parameters:
strTargetEndpointVersion - - String set to target ITPAM version
strTargetEndpointURI - - String set to URI of target ITPAM web service
strUser - - String set to ITPAM user authorized to invoke required web service methods
strPassword - - String set ITPAM decrypted ITPAM user password
Returns:
- ItpamWebServiceClient wrapper for version appropriate ITPAM web service
Throws:
ItpamWebServiceClientFactory.ItpamWebServiceClientFactoryException