ilog.rules.dvs.client
Class IlrSSPServiceFactory
- java.lang.Object
-
- ilog.rules.dvs.client.IlrSSPServiceFactory
-
Deprecated.
@Deprecated public class IlrSSPServiceFactory extends java.lang.ObjectFactory that creates instances of an SSP service. This class follows the Singleton pattern.Code Example
This class is used when connecting your application to an SSP server to launch the execution of your scenario suite.
The main steps for doing this are:
- Prepare the input data
- Connect to a running SSP server
- Run the scenario suite, synchronously or asynchronously
- Parse the result to build a report
A full code example is provided in the package description: ilog.rules.dvs.client.
About the DVS API
Decision Validation Services provides business rule testing and simulation solutions to developers and business users.
You use the DVS API to:
- Run an existing scenario suite (a test suite or simulation).
- Create key performance indicators (KPIs) to display the business outcomes of simulations.
- Customize the scenario providers, which determine how input data is provided to the test & simulation engine for execution.
- Read and write test and simulation data using the default Excel 2003 formats.
-
-
Method Summary
Methods Modifier and Type Method and Description IlrSSPServicecreateHTTPClient(com.ibm.rules.httpclient.OdmHttpClientFactory clientFactory, java.net.URL urlToTheSSPServer, java.lang.String username, java.lang.String password)Deprecated.Creates an HTTP client of the SSP service.IlrSSPServicecreateHTTPClient(java.net.URL urlToTheSSPServer, java.lang.String username, java.lang.String password)Deprecated.Creates an HTTP client of the SSP service.static IlrSSPServiceFactorygetInstance()Deprecated.Returns the singleton instance.
-
-
-
Method Detail
-
getInstance
public static IlrSSPServiceFactory getInstance()
Deprecated.Returns the singleton instance.
-
createHTTPClient
public IlrSSPService createHTTPClient(java.net.URL urlToTheSSPServer, java.lang.String username, java.lang.String password) throws ilog.rules.res.util.http.IlrConnectionException, ilog.rules.res.util.http.IlrAuthenticationException
Deprecated.Creates an HTTP client of the SSP service.- Throws:
ilog.rules.res.util.http.IlrConnectionException- If the connection failed.ilog.rules.res.util.http.IlrAuthenticationException- If the authentication failed on user or password.- Parameters:
urlToTheSSPServer- URL to the SSP Web application.username- The user name (if authentication is needed to access the SSP server, null otherwise).password- The user password (if authentication is needed to access the SSP server, null otherwise).
-
createHTTPClient
public IlrSSPService createHTTPClient(com.ibm.rules.httpclient.OdmHttpClientFactory clientFactory, java.net.URL urlToTheSSPServer, java.lang.String username, java.lang.String password) throws ilog.rules.res.util.http.IlrConnectionException, ilog.rules.res.util.http.IlrAuthenticationException
Deprecated.Creates an HTTP client of the SSP service.- Throws:
ilog.rules.res.util.http.IlrConnectionException- If the connection failed.ilog.rules.res.util.http.IlrAuthenticationException- If the authentication failed on user or password.- Parameters:
clientFactory- The HTTP client factory.urlToTheSSPServer- URL to the SSP Web application.username- The user name (if authentication is needed to access the SSP server, null otherwise).password- The user password (if authentication is needed to access the SSP server, null otherwise).
-
-