Methods Summary |
---|
public boolean | add(javax.management.ObjectName name, java.lang.Object mbeanImpl)Adds an Object in the repository. Neither Object nor the ObjectName
should be null. Given Object will not be added if an Object with the
same ObjectName already exists in the repository.
|
public boolean | contains(javax.management.ObjectName objectName)Tests whether an Object with given ObjectName is present in this
Repository.
|
public java.lang.Object | find(javax.management.ObjectName objectName)Returns the Object with given ObjectName. Returns null if there
is no Object with given ObjectName. Passed ObjectName may not be null.
|
public java.lang.Object | findPersistent(javax.management.ObjectName objectName)Makes the check for the existence of corresponding element in the
persistent store. This method will also register or unregister
the MBeans as required by adding/removing them, depending on its existence
in the persistent store.
|
public java.util.Set | getAllMBeans()Method to get ALL MBeans in all domains in this repository.
The returned Set contains the ObjectNames of all MBeans.
|
public int | getCount(java.lang.String domainName)Returns the number of Objects stored in the repository for
given domainName.
|
public int | getTotalCount()Returns the total number of MBeans stored in entire repository.
|
public java.util.Set | query(javax.management.ObjectName objectName)Returns a Set of Objects whose ObjectNames match zero or more Objects in the
repository as per the pattern suggested by the argument. If the argument
is NOT a pattern an exact match will be performed.
|
public boolean | remove(javax.management.ObjectName objectName)Removes the Object with given ObjectName from repository. The passed
ObjectName must not be null.
|