|
soap tutorial | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectadriani.jws.template.service.GeneralAnalyzer
adriani.jws.template.service.ServiceAnalyzer
public class ServiceAnalyzer
Implementation of the general GeneralAnalyzer
abstract class for the specific
web service.
To provide an example of implementation, here we added the management of the CUSTOMER
related analysis: remove the corresponding code if not necessary.
Field Summary | |
---|---|
protected int |
no_customer
Number of times the input data did not match any customer in the database. |
Fields inherited from class adriani.jws.template.service.GeneralAnalyzer |
---|
calls, command, dao_error, last_dump, leadingName, list, logger, logic_error, macro_error, no_db, no_error, no_record, no_result, sql_error, sql_query, startup, table, validation_error |
Constructor Summary | |
---|---|
ServiceAnalyzer()
Standard constructor, creating the ArrayList object used to store the result
of each call when the web service is deployed in a multi-threading environment (default). |
Method Summary | |
---|---|
void |
addNoCustomer()
Mutator method. |
void |
endCall(int code)
Stop the chronwatch after the end of one call service, even if the call generated an error. |
int |
getNoCustomer()
Accessor method. |
java.lang.StringBuffer |
getResults()
Produce a StringBuffer object containing all the analysis data already formatted and
ready for printing. |
Methods inherited from class adriani.jws.template.service.GeneralAnalyzer |
---|
addCommand, addDAOError, addLogicError, addMacroError, addNoDatabase, addNoError, addNoRecord, addNoResult, addSQLError, addSQLQuery, addValidationError, collect, getCalls, getCommand, getDAOError, getLastDump, getLogicError, getMacroError, getNoDatabase, getNoError, getNoRecord, getNoResult, getSQLError, getSQLQuery, getStartup, getValidationError, logResults, printResults, setLastDump, startCall |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected int no_customer
Constructor Detail |
---|
public ServiceAnalyzer()
ArrayList
object used to store the result
of each call when the web service is deployed in a multi-threading environment (default).
Method Detail |
---|
public java.lang.StringBuffer getResults()
StringBuffer
object containing all the analysis data already formatted and
ready for printing.
getResults
in class GeneralAnalyzer
public void endCall(int code)
ErrorMessage
class.
endCall
in class GeneralAnalyzer
code
- the integer code describing the event or errorErrorMessage
public void addNoCustomer()
public int getNoCustomer()
|
Build 19/03/2014 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |