当前页面: 
在线文档首页 > 
JBoss 4.0.1 sp1 varia  API Documentation 英文版文档
ReportGenerator (Various API) - JBoss 4.0.1 sp1 varia  API Documentation 英文版文档
org.jboss.varia.stats.report
Class ReportGenerator
java.lang.Object
   org.jboss.mx.util.JBossNotificationBroadcasterSupport
org.jboss.mx.util.JBossNotificationBroadcasterSupport
       org.jboss.system.ServiceMBeanSupport
org.jboss.system.ServiceMBeanSupport
           org.jboss.varia.stats.report.ReportGenerator
org.jboss.varia.stats.report.ReportGenerator
- All Implemented Interfaces: 
- javax.management.MBeanRegistration, javax.management.NotificationBroadcaster, javax.management.NotificationEmitter, ReportGeneratorMBean, org.jboss.system.Service, org.jboss.system.ServiceMBean
- Direct Known Subclasses: 
- CacheReportGenerator, GeneralReportGenerator, TableReportGenerator
- public abstract class ReportGenerator- extends org.jboss.system.ServiceMBeanSupport- implements ReportGeneratorMBean
- Version:
- $Revision: 1.2 $
- Author:
- Alexey Loubyansky
 
| Fields inherited from class org.jboss.system.ServiceMBeanSupport | 
| log, server, SERVICE_CONTROLLER_SIG, serviceName | 
 
| Fields inherited from interface org.jboss.system.ServiceMBean | 
| CREATE_EVENT, CREATED, DESTROY_EVENT, DESTROYED, FAILED, REGISTERED, START_EVENT, STARTED, STARTING, states, STOP_EVENT, STOPPED, STOPPING, UNREGISTERED | 
 
 
 
| Methods inherited from class org.jboss.system.ServiceMBeanSupport | 
| create, createService, destroy, destroyService, getLog, getNextNotificationSequenceNumber, getObjectName, getServer, getServiceName, getState, getStateString, jbossInternalCreate, jbossInternalDescription, jbossInternalDestroy, jbossInternalLifecycle, jbossInternalStart, jbossInternalStop, postDeregister, postRegister, preDeregister, preRegister, start, stop | 
 
| Methods inherited from class org.jboss.mx.util.JBossNotificationBroadcasterSupport | 
| addNotificationListener, getNotificationInfo, handleNotification, removeNotificationListener, removeNotificationListener, sendNotification | 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
| Methods inherited from interface org.jboss.system.ServiceMBean | 
| getState, getStateString, jbossInternalLifecycle | 
 
| Methods inherited from interface org.jboss.system.Service | 
| create, destroy, start, stop | 
 
statsCollector
protected javax.management.ObjectName statsCollector
name
protected String name
description
protected String description
ReportGenerator
public ReportGenerator()
setName
public void setName(String name)
- 
- Specified by:
- setNamein interface- ReportGeneratorMBean
 
- 
 
getName
public String getName()
- 
- Specified by:
- getNamein interface- ReportGeneratorMBean
 
- 
 
setDescription
public void setDescription(String description)
- 
- Specified by:
- setDescriptionin interface- ReportGeneratorMBean
 
- 
 
getDescription
public String getDescription()
- 
- Specified by:
- getDescriptionin interface- ReportGeneratorMBean
 
- 
 
setStatsCollector
public void setStatsCollector(javax.management.ObjectName statsCollector)
- 
- Specified by:
- setStatsCollectorin interface- ReportGeneratorMBean
 
- 
 
getStatsCollector
public javax.management.ObjectName getStatsCollector()
- 
- Specified by:
- getStatsCollectorin interface- ReportGeneratorMBean
 
- 
 
startService
public void startService()
                  throws Exception
- 
 
- 
- Throws:
- Exception
 
stopService
public void stopService()
                 throws Exception
- 
 
- 
- Throws:
- Exception
 
generate
public String generate(String reportName)
                throws Exception
- 
- Specified by:
- generatein interface- ReportGeneratorMBean
 
- 
- Throws:
- Exception
 
content
protected abstract void content(String reportName,
                                StringBuffer buf)
                         throws Exception
- 
 
- 
- Throws:
- Exception
 
getReportsIterator
protected Iterator getReportsIterator()
                               throws Exception
- 
 
- 
- Throws:
- Exception
 
getTxStatistics
protected TxStatistics getTxStatistics()
                                throws Exception
- 
 
- 
- Throws:
- Exception
 
      
      
        Copyright © 2002 JBoss Group, LLC. All Rights Reserved.