org.infinispan.config
Class GlobalConfiguration.GlobalJmxStatisticsType

java.lang.Object
  extended by org.infinispan.config.AbstractConfigurationBean
      extended by org.infinispan.config.GlobalConfiguration.GlobalJmxStatisticsType
All Implemented Interfaces:
Serializable, Cloneable, CloneableConfigurationComponent, JAXBUnmarshallable
Enclosing class:
GlobalConfiguration

public static class GlobalConfiguration.GlobalJmxStatisticsType
extends AbstractConfigurationBean

This element specifies whether global statistics are gathered and reported via JMX for all caches under this cache manager.

See Also:
Configuration reference, Serialized Form

Field Summary
protected  Boolean allowDuplicateDomains
           
protected  String cacheManagerName
           
protected  Boolean enabled
           
protected  String jmxDomain
           
protected  String mBeanServerLookup
           
protected  TypedProperties properties
           
 
Fields inherited from class org.infinispan.config.AbstractConfigurationBean
EMPTY_PROPERTIES, log, overriddenConfigurationElements
 
Constructor Summary
GlobalConfiguration.GlobalJmxStatisticsType()
           
 
Method Summary
 void accept(ConfigurationBeanVisitor v)
           
 CloneableConfigurationComponent clone()
           
 MBeanServerLookup getMBeanServerLookupInstance()
           
protected  boolean hasComponentStarted()
          Tests whether the component this configuration bean intents to configure has already started.
 void inject(GlobalComponentRegistry gcr)
           
 void setAllowDuplicateDomains(Boolean allowDuplicateDomains)
           
 void setCacheManagerName(String cacheManagerName)
           
 void setEnabled(Boolean enabled)
           
 void setJmxDomain(String jmxDomain)
           
 void setMBeanServerLookup(String beanServerLookup)
           
 void setMBeanServerLookupInstance(MBeanServerLookup MBeanServerLookupInstance)
           
 void setProperties(TypedProperties p)
           
 
Methods inherited from class org.infinispan.config.AbstractConfigurationBean
testImmutability, toTypedProperties, toTypedProperties, uc, willUnmarshall
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

enabled

protected Boolean enabled

jmxDomain

protected String jmxDomain

mBeanServerLookup

protected String mBeanServerLookup

allowDuplicateDomains

protected Boolean allowDuplicateDomains

cacheManagerName

protected String cacheManagerName

properties

protected TypedProperties properties
Constructor Detail

GlobalConfiguration.GlobalJmxStatisticsType

public GlobalConfiguration.GlobalJmxStatisticsType()
Method Detail

setEnabled

public void setEnabled(Boolean enabled)

accept

public void accept(ConfigurationBeanVisitor v)

setProperties

public void setProperties(TypedProperties p)

setJmxDomain

public void setJmxDomain(String jmxDomain)

setMBeanServerLookup

public void setMBeanServerLookup(String beanServerLookup)

setAllowDuplicateDomains

public void setAllowDuplicateDomains(Boolean allowDuplicateDomains)

setCacheManagerName

public void setCacheManagerName(String cacheManagerName)

getMBeanServerLookupInstance

public MBeanServerLookup getMBeanServerLookupInstance()

setMBeanServerLookupInstance

public void setMBeanServerLookupInstance(MBeanServerLookup MBeanServerLookupInstance)

inject

public void inject(GlobalComponentRegistry gcr)

hasComponentStarted

protected boolean hasComponentStarted()
Description copied from class: AbstractConfigurationBean
Tests whether the component this configuration bean intents to configure has already started.

Specified by:
hasComponentStarted in class AbstractConfigurationBean
Returns:
true if the component has started; false otherwise.

clone

public CloneableConfigurationComponent clone()
                                      throws CloneNotSupportedException
Specified by:
clone in interface CloneableConfigurationComponent
Overrides:
clone in class AbstractConfigurationBean
Throws:
CloneNotSupportedException


Copyright © 2011 JBoss, a division of Red Hat. All Rights Reserved.