public class JmxReporterFactoryBean extends AbstractReporterFactoryBean<com.codahale.metrics.JmxReporter> implements org.springframework.context.SmartLifecycle, org.springframework.beans.factory.DisposableBean
Modifier and Type | Field and Description |
---|---|
static String |
DOMAIN |
static String |
DURATION_UNIT |
static String |
FILTER_PATTERN |
static String |
FILTER_REF |
static String |
MBEAN_SERVER_REF |
static String |
RATE_UNIT |
Constructor and Description |
---|
JmxReporterFactoryBean() |
Modifier and Type | Method and Description |
---|---|
protected com.codahale.metrics.JmxReporter |
createInstance() |
void |
destroy() |
Class<com.codahale.metrics.JmxReporter> |
getObjectType() |
int |
getPhase() |
boolean |
isAutoStartup() |
boolean |
isRunning() |
void |
start() |
void |
stop() |
void |
stop(Runnable runnable) |
afterPropertiesSet, getBeanFactory, getConversionService, getMetricFilter, getMetricRegistry, getObject, getProperties, getProperty, getProperty, getProperty, getProperty, getPropertyRef, getPropertyRef, hasProperty, isEnabled, isSingleton, metricFilterPattern, setBeanFactory, setEnabled, setMetricRegistry, setProperties
public static final String DOMAIN
public static final String DURATION_UNIT
public static final String RATE_UNIT
public static final String FILTER_PATTERN
public static final String FILTER_REF
public static final String MBEAN_SERVER_REF
public Class<com.codahale.metrics.JmxReporter> getObjectType()
getObjectType
in interface org.springframework.beans.factory.FactoryBean<com.codahale.metrics.JmxReporter>
getObjectType
in class AbstractReporterFactoryBean<com.codahale.metrics.JmxReporter>
protected com.codahale.metrics.JmxReporter createInstance()
createInstance
in class AbstractReporterFactoryBean<com.codahale.metrics.JmxReporter>
public void start()
start
in interface org.springframework.context.Lifecycle
public void stop()
stop
in interface org.springframework.context.Lifecycle
public boolean isRunning()
isRunning
in interface org.springframework.context.Lifecycle
public void destroy() throws Exception
destroy
in interface org.springframework.beans.factory.DisposableBean
Exception
public boolean isAutoStartup()
isAutoStartup
in interface org.springframework.context.SmartLifecycle
public void stop(Runnable runnable)
stop
in interface org.springframework.context.SmartLifecycle
public int getPhase()
getPhase
in interface org.springframework.context.Phased
Copyright © 2012-2013. All Rights Reserved.