Package org.jmxtrans.embedded.spring
Class SpringEmbeddedJmxTrans
java.lang.Object
org.jmxtrans.embedded.EmbeddedJmxTrans
org.jmxtrans.embedded.spring.SpringEmbeddedJmxTrans
- All Implemented Interfaces:
EmbeddedJmxTransMBean,SpringEmbeddedJmxTransMBean,org.springframework.beans.factory.DisposableBean,org.springframework.beans.factory.InitializingBean,org.springframework.jmx.export.naming.SelfNaming
public class SpringEmbeddedJmxTrans extends EmbeddedJmxTrans implements SpringEmbeddedJmxTransMBean, org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.DisposableBean, org.springframework.jmx.export.naming.SelfNaming
- Author:
- Cyrille Le Clerc
-
Constructor Summary
Constructors Constructor Description SpringEmbeddedJmxTrans() -
Method Summary
Modifier and Type Method Description voidafterPropertiesSet()voiddestroy()ObjectNamegetObjectName()voidsetObjectName(String objectName)Methods inherited from class org.jmxtrans.embedded.EmbeddedJmxTrans
addQuery, collectMetrics, exportCollectedMetrics, getCollectedMetricsCount, getCollectionCount, getCollectionDurationInMillis, getCollectionDurationInNanos, getDiscardedResultsCount, getExportBatchSize, getExportCount, getExportDurationInMillis, getExportDurationInNanos, getExportedMetricsCount, getExportIntervalInSeconds, getMbeanServer, getNumExportThreads, getNumQueryThreads, getOutputWriters, getQueries, getQueryIntervalInSeconds, getState, setExportBatchSize, setExportIntervalInSeconds, setNumExportThreads, setNumQueryThreads, setQueryIntervalInSeconds, start, stop, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.jmxtrans.embedded.EmbeddedJmxTransMBean
collectMetrics, exportCollectedMetrics, getCollectedMetricsCount, getCollectionCount, getCollectionDurationInMillis, getCollectionDurationInNanos, getDiscardedResultsCount, getExportCount, getExportDurationInMillis, getExportDurationInNanos, getExportedMetricsCount, getExportIntervalInSeconds, getNumExportThreads, getNumQueryThreads, getQueryIntervalInSeconds, getState, start, stop
-
Constructor Details
-
SpringEmbeddedJmxTrans
public SpringEmbeddedJmxTrans()
-
-
Method Details
-
afterPropertiesSet
- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean- Throws:
Exception
-
destroy
- Specified by:
destroyin interfaceorg.springframework.beans.factory.DisposableBean- Throws:
Exception
-
getObjectName
- Specified by:
getObjectNamein interfaceorg.springframework.jmx.export.naming.SelfNaming- Throws:
MalformedObjectNameException
-
setObjectName
-