public void statisticCreated(SPIStatistic data) {
         switch(data.getId())
         {
             case WebAppModule.TOTAL_REQUESTS: 
             	totalRequests = (CountStatisticImpl)data; 
             	break;
             case WebAppModule.NUM_ERRORS: numErrors = (CountStatisticImpl)data; break;
             case WebAppModule.RESPONSE_TIME: responseTime = (TimeStatisticImpl)data;break;
             case WebAppModule.CONCURRENT_REQUESTS: currentRequests = (RangeStatisticImpl)data; break;
             case WebAppModule.ASYNC_CONTEXT_RESPONSE_TIME: this.asyncContextResponseTime = (TimeStatisticImpl)data;break;
             default:
                 break;
         }
		}
public void statisticCreated ( SPIStatistic data ) { switch ( data . getId ( ) ) { case WebAppModule . TOTAL_REQUESTS : totalRequests = ( CountStatisticImpl ) data ; break ; case WebAppModule . NUM_ERRORS : numErrors = ( CountStatisticImpl ) data ; break ; case WebAppModule . RESPONSE_TIME : responseTime = ( TimeStatisticImpl ) data ; break ; case WebAppModule . CONCURRENT_REQUESTS : currentRequests = ( RangeStatisticImpl ) data ; break ; case WebAppModule . ASYNC_CONTEXT_RESPONSE_TIME : this . asyncContextResponseTime = ( TimeStatisticImpl ) data ; break ; default : break ; } }
/* (non-Javadoc)
@see com.ibm.wsspi.pmi.factory.StatisticActionListener#statisticCreated(com.ibm.wsspi.pmi.stat.SPIStatistic)