Class semper.BApp.BusinessClnt.BAppTest
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class semper.BApp.BusinessClnt.BAppTest

java.lang.Object
   |
   +----semper.BApp.FrmWrkClnt.BApp
           |
           +----semper.BApp.BusinessClnt.BAppTest

public class BAppTest
extends BApp
implements BusinessApp
This class defines the behavior of the INTRACOM Test Business Application. This class implements the methods required to perform offer, payments ect.
Version:
$Revision: 1.1.2.1 $ $Date: 1997/03/28 18:24:30 $
Author:
Pantis Petros

Constructor Index

 o BAppTest()
Constructor for the BAppTest object

Method Index

 o activate(BAReq)
Defines the start-up settings for the current BA
 o configEntryGet(String)
This method is not used by the test but it should be defined
 o deactivate(BAReq)
Deactivates the current BA
 o getCL()
Gets the CLConnection object for the currend BATest
 o getType()
Gets the type for the specific BA
 o isActive()
Checks if the current BA object is alive
 o offer1(BAReq)
This method is called when a Offer request was recognized
 o orderpayconfirm(BAReq)
This method is called when a Order-pay-confirm request was recognized
 o request(BAReq)
Parses the SRV_REQ-value in order to call the appropriate method
 o setCL(CLConnection)
Stores the CLConnection object for the current BA

Constructors

 o BAppTest
  public BAppTest()
Constructor for the BAppTest object

Methods

 o configEntryGet
  public BAppCfgEntry configEntryGet(String entryId) throws BAExcept
This method is not used by the test but it should be defined
Parameters:
entryId - ...
Returns:
value ...
Overrides:
configEntryGet in class BApp
 o getType
  public String getType()
Gets the type for the specific BA
Returns:
value a String object that stores the type
Overrides:
getType in class BApp
 o getCL
  public CLConnection getCL()
Gets the CLConnection object for the currend BATest
Returns:
value the CLConnection object associated with the current BA
Overrides:
getCL in class BApp
 o setCL
  public void setCL(CLConnection connection)
Stores the CLConnection object for the current BA
Parameters:
connection - the CLConnection object
Overrides:
setCL in class BApp
 o isActive
  public boolean isActive()
Checks if the current BA object is alive
Returns:
value true if the current BA is a valid object
Overrides:
isActive in class BApp
 o request
  public String request(BAReq req) throws BAExcept
Parses the SRV_REQ-value in order to call the appropriate method
Parameters:
req - the request characteristics
Returns:
value a String object that should be send to the caller module
Overrides:
request in class BApp
 o deactivate
  protected String deactivate(BAReq request)
Deactivates the current BA
Parameters:
request - the request characteristics
Returns:
value a String object that should be send to the caller module
Overrides:
deactivate in class BApp
 o activate
  protected String activate(BAReq request)
Defines the start-up settings for the current BA
Parameters:
request - the request characteristics
Returns:
value a String object that should be send to the caller module
Overrides:
activate in class BApp
 o offer1
  protected String offer1(BAReq request)
This method is called when a Offer request was recognized
Parameters:
request - the request characteristics
Returns:
value a String object that should be send to the caller module
 o orderpayconfirm
  public String orderpayconfirm(BAReq req)
This method is called when a Order-pay-confirm request was recognized
Parameters:
req - the request characteristics
Returns:
value a String object that should be send to the caller module

All Packages  Class Hierarchy  This Package  Previous  Next  Index