org.jboss.varia.stats.report
Class ReportGenerator
java.lang.Object
org.jboss.mx.util.JBossNotificationBroadcasterSupport
org.jboss.system.ServiceMBeanSupport
org.jboss.varia.stats.report.ReportGenerator
- All Implemented Interfaces:
- MBeanRegistration, NotificationBroadcaster, NotificationEmitter, org.jboss.kernel.spi.dependency.KernelControllerContextAware, Service, ServiceMBean, ReportGeneratorMBean
- Direct Known Subclasses:
- CacheReportGenerator, GeneralReportGenerator, TableReportGenerator
public abstract class ReportGenerator
- extends ServiceMBeanSupport
- implements ReportGeneratorMBean
- Version:
- $Revision: 81038 $
- Author:
- Alexey Loubyansky
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, getDeploymentInfo, getLog, getNextNotificationSequenceNumber, getObjectName, getServer, getServiceName, getState, getStateString, jbossInternalCreate, jbossInternalDescription, jbossInternalDestroy, jbossInternalLifecycle, jbossInternalStart, jbossInternalStop, pojoChange, pojoCreate, pojoDestroy, pojoStart, pojoStop, postDeregister, postRegister, preDeregister, preRegister, setKernelControllerContext, start, stop, unsetKernelControllerContext |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
statsCollector
protected ObjectName statsCollector
name
protected String name
description
protected String description
ReportGenerator
public ReportGenerator()
setName
public void setName(String name)
- Specified by:
setName
in interface ReportGeneratorMBean
getName
public String getName()
- Specified by:
getName
in interface ServiceMBean
- Specified by:
getName
in interface ReportGeneratorMBean
- Overrides:
getName
in class ServiceMBeanSupport
setDescription
public void setDescription(String description)
- Specified by:
setDescription
in interface ReportGeneratorMBean
getDescription
public String getDescription()
- Specified by:
getDescription
in interface ReportGeneratorMBean
setStatsCollector
public void setStatsCollector(ObjectName statsCollector)
- Specified by:
setStatsCollector
in interface ReportGeneratorMBean
getStatsCollector
public ObjectName getStatsCollector()
- Specified by:
getStatsCollector
in interface ReportGeneratorMBean
startService
public void startService()
throws Exception
- Overrides:
startService
in class ServiceMBeanSupport
- Throws:
Exception
stopService
public void stopService()
throws Exception
- Overrides:
stopService
in class ServiceMBeanSupport
- Throws:
Exception
generate
public String generate(String reportName)
throws Exception
- Specified by:
generate
in 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 © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.