Package: org.grails.plugins.datasource

## [Groovy] Class TomcatJDBCPoolMBeanExporter

- org.grails.plugins.datasource.TomcatJDBCPoolMBeanExporter

-     @groovy.transform.CompileStatic
      class TomcatJDBCPoolMBeanExporter
      extends org.springframework.jmx.export.MBeanExporter

- - ### Field Summary

    Fields
    Modifiers | Name | Description
    --- | --- | ---
    `private org.springframework.beans.factory.ListableBeanFactory` | `beanFactory` |
    `private GrailsApplication` | `grailsApplication` |
    `private static org.apache.commons.logging.Log` | `log` |

  - Inherited fields
    Fields inherited from class | Fields
    --- | ---
    `class org.springframework.jmx.export.MBeanExporter` | `AUTODETECT_NONE, AUTODETECT_MBEAN, AUTODETECT_ASSEMBLER, AUTODETECT_ALL`

  - ### Properties Summary

    Properties
    Type | Name and description
    --- | ---
    `GrailsApplication` | `grailsApplication`

  - ### Constructor Summary

    Constructors
    Constructor and description
    `TomcatJDBCPoolMBeanExporter ()`

  - ### Methods Summary

    Methods
    Type Params | Return Type | Name and description
    --- | --- | ---
    `` | `protected javax.management.ObjectName` | `createJmxObjectName(java.lang.String beanName, org.apache.tomcat.jdbc.pool.DataSource dataSource)`
    `` | `protected boolean` | `isJmxEnabled(java.lang.String beanName, org.apache.tomcat.jdbc.pool.DataSource dataSource)`
    `` | `protected void` | `registerBeans()`
    `` | `void` | `setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory)`

  - ### Inherited Methods Summary

    Inherited Methods
    Methods inherited from class | Name
    --- | ---
    `class org.springframework.jmx.export.MBeanExporter` | `org.springframework.jmx.export.MBeanExporter#setEnsureUniqueRuntimeObjectNames(boolean), org.springframework.jmx.export.MBeanExporter#setExposeManagedResourceClassLoader(boolean), org.springframework.jmx.export.MBeanExporter#addExcludedBean(java.lang.String), org.springframework.jmx.export.MBeanExporter#setNotificationListeners([Lorg.springframework.jmx.export.NotificationListenerBean;), org.springframework.jmx.export.MBeanExporter#setNotificationListenerMappings(java.util.Map), org.springframework.jmx.export.MBeanExporter#registerManagedResource(java.lang.Object, javax.management.ObjectName), org.springframework.jmx.export.MBeanExporter#registerManagedResource(java.lang.Object), org.springframework.jmx.export.MBeanExporter#unregisterManagedResource(javax.management.ObjectName), org.springframework.jmx.export.MBeanExporter#setBeans(java.util.Map), org.springframework.jmx.export.MBeanExporter#setAutodetect(boolean), org.springframework.jmx.export.MBeanExporter#setAutodetectMode(int), org.springframework.jmx.export.MBeanExporter#setAutodetectModeName(java.lang.String), org.springframework.jmx.export.MBeanExporter#setAllowEagerInit(boolean), org.springframework.jmx.export.MBeanExporter#setAssembler(org.springframework.jmx.export.assembler.MBeanInfoAssembler), org.springframework.jmx.export.MBeanExporter#setNamingStrategy(org.springframework.jmx.export.naming.ObjectNamingStrategy), org.springframework.jmx.export.MBeanExporter#setExcludedBeans([Ljava.lang.String;), org.springframework.jmx.export.MBeanExporter#setBeanClassLoader(java.lang.ClassLoader), org.springframework.jmx.export.MBeanExporter#setBeanFactory(org.springframework.beans.factory.BeanFactory), org.springframework.jmx.export.MBeanExporter#afterSingletonsInstantiated(), org.springframework.jmx.export.MBeanExporter#afterPropertiesSet(), org.springframework.jmx.export.MBeanExporter#setListeners([Lorg.springframework.jmx.export.MBeanExporterListener;), org.springframework.jmx.export.MBeanExporter#destroy(), org.springframework.jmx.export.MBeanExporter#setRegistrationPolicy(org.springframework.jmx.support.RegistrationPolicy), org.springframework.jmx.export.MBeanExporter#getServer(), org.springframework.jmx.export.MBeanExporter#setServer(javax.management.MBeanServer), org.springframework.jmx.export.MBeanExporter#wait(long), org.springframework.jmx.export.MBeanExporter#wait(long, int), org.springframework.jmx.export.MBeanExporter#wait(), org.springframework.jmx.export.MBeanExporter#equals(java.lang.Object), org.springframework.jmx.export.MBeanExporter#toString(), org.springframework.jmx.export.MBeanExporter#hashCode(), org.springframework.jmx.export.MBeanExporter#getClass(), org.springframework.jmx.export.MBeanExporter#notify(), org.springframework.jmx.export.MBeanExporter#notifyAll()`

- - ### Field Detail

    - #### private org.springframework.beans.factory.ListableBeanFactory beanFactory

    - #### private GrailsApplication grailsApplication

    - #### private static final org.apache.commons.logging.Log log

  - ### Property Detail

    - #### GrailsApplication grailsApplication

  - ### Constructor Detail

    - #### TomcatJDBCPoolMBeanExporter()

  - ### Method Detail

    - #### protected javax.management.ObjectName createJmxObjectName(java.lang.String beanName, org.apache.tomcat.jdbc.pool.DataSource dataSource)

    - #### protected boolean isJmxEnabled(java.lang.String beanName, org.apache.tomcat.jdbc.pool.DataSource dataSource)

    - #### @java.lang.Override protected void registerBeans()

    - #### @java.lang.Override void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory)