org.apache.synapse.commons.datasource

## Class DatasourceMBeanRepository

- java.lang.Object
- - org.apache.synapse.commons.datasource.DatasourceMBeanRepository

- All Implemented Interfaces:
    MBeanRepository

      public class DatasourceMBeanRepository
      extends java.lang.Object
      implements MBeanRepository

  Keeps DatasourceMBeans

- - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `addMBean(java.lang.String name, java.lang.Object mBean)`
    `void` | `clear()`
    `static DatasourceMBeanRepository` | `getInstance()`
    `java.lang.Object` | `getMBean(java.lang.String name)`
    `void` | `removeMBean(java.lang.String name)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Method Detail

    - #### getInstance

          public static DatasourceMBeanRepository getInstance()

    - #### addMBean

          public void addMBean(java.lang.String name,
                               java.lang.Object mBean)

      Specified by:
        `addMBean` in interface `MBeanRepository`

    - #### getMBean

          public java.lang.Object getMBean(java.lang.String name)

      Specified by:
        `getMBean` in interface `MBeanRepository`

    - #### removeMBean

          public void removeMBean(java.lang.String name)

      Specified by:
        `removeMBean` in interface `MBeanRepository`

    - #### clear

          public void clear()

      Specified by:
        `clear` in interface `MBeanRepository`

Copyright © 2005-2021 Apache Software Foundation. All Rights Reserved.