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
-
BAppTest()
- Constructor for the BAppTest object
-
activate(BAReq)
- Defines the start-up settings for the current BA
-
configEntryGet(String)
- This method is not used by the test but it should be defined
-
deactivate(BAReq)
- Deactivates the current BA
-
getCL()
- Gets the CLConnection object for the currend BATest
-
getType()
- Gets the type for the specific BA
-
isActive()
- Checks if the current BA object is alive
-
offer1(BAReq)
- This method is called when a Offer request was recognized
-
orderpayconfirm(BAReq)
- This method is called when a Order-pay-confirm request was recognized
-
request(BAReq)
- Parses the SRV_REQ-value in order to call the appropriate method
-
setCL(CLConnection)
- Stores the CLConnection object for the current BA
BAppTest
public BAppTest()
- Constructor for the BAppTest object
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
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
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
setCL
public void setCL(CLConnection connection)
- Stores the CLConnection object for the current BA
- Parameters:
- connection - the CLConnection object
- Overrides:
- setCL in class BApp
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
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
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
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
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
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