public class

ConnectionManagementStrategy

extends Object
java.lang.Object
   ↳ com.computime.sunsystemsssc.ConnectionManagementStrategy
Known Direct Subclasses

Summary

Fields
private String authenticationToken
private String executorPortURL
private ComponentExecutor executorclient
private String license
private String securityPortURL
private SecurityProvider securityclient
Public Constructors
ConnectionManagementStrategy()
Public Methods
void connect(String host, String port, String username, String password, String wsdlLocation, String license)
Creates the client to interact with Sun Systems through SSC
String connectionId()
Are we connected
void disconnect()
String getAuthenticationToken()
ComponentExecutorPortType getExecutorClientPort()
ComponentExecutor getExecutorclient()
String getLicense()
boolean isConnected()
Are we connected
void setAuthenticationToken(String authenticationToken)
void setExecutorclient(ComponentExecutor executorclient)
void setLicense(String license)
[Expand]
Inherited Methods
From class java.lang.Object

Fields

private String authenticationToken

private String executorPortURL

private ComponentExecutor executorclient

private String license

private String securityPortURL

private SecurityProvider securityclient

Public Constructors

public ConnectionManagementStrategy ()

Public Methods

public void connect (String host, String port, String username, String password, String wsdlLocation, String license)

Creates the client to interact with Sun Systems through SSC

Parameters
host The host (IP of server name) of the Sun Systems SSC instance
port The port of the Sun Systems SSC instance
username The username that is going to used to log in to the service (used to identify the connection in the pool)
password The password of the user that is going to use the service
wsdlLocation The URL location in where the WSDL of the service can be found
license The SSC license code
Throws
ConnectionException If cannot connect through this exception

public String connectionId ()

Are we connected

public void disconnect ()

public String getAuthenticationToken ()

public ComponentExecutorPortType getExecutorClientPort ()

public ComponentExecutor getExecutorclient ()

public String getLicense ()

public boolean isConnected ()

Are we connected

public void setAuthenticationToken (String authenticationToken)

Parameters
authenticationToken

public void setExecutorclient (ComponentExecutor executorclient)

Parameters
executorclient

public void setLicense (String license)

Parameters
license