java.lang.Object | |
↳ | com.sun.jmx.mbeanserver.Repository |
The RepositorySupport implements the Repository interface. This repository does not support persistency.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Construct a new repository with the given default domain.
| |||||||||||
Construct a new repository with the given default domain.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Stores an MBean associated with its object name in the repository.
| |||||||||||
Checks whether an MBean of the name specified is already stored in
the repository.
| |||||||||||
Gets the number of MBeans stored in the repository.
| |||||||||||
Gets the name of the domain currently used by default in the
repository.
| |||||||||||
Returns the list of domains in which any MBean is currently
registered.
| |||||||||||
Selects and retrieves the list of MBeans whose names match the specified
object name pattern and which match the specified query expression
(optionally).
| |||||||||||
Removes an MBean from the repository.
| |||||||||||
Retrieves the MBean of the name specified from the repository.
| |||||||||||
Match a string against a shell-style pattern.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Construct a new repository with the given default domain.
Stores an MBean associated with its object name in the repository.
object | MBean to be stored in the repository. |
---|---|
name | MBean object name. |
Checks whether an MBean of the name specified is already stored in the repository.
name | name of the MBean to find. |
---|
Gets the number of MBeans stored in the repository.
Gets the name of the domain currently used by default in the repository.
Returns the list of domains in which any MBean is currently registered.
Selects and retrieves the list of MBeans whose names match the specified object name pattern and which match the specified query expression (optionally).
pattern | The name of the MBean(s) to retrieve - may be a specific object or a name pattern allowing multiple MBeans to be selected. |
---|---|
query | query expression to apply when selecting objects - this parameter will be ignored when the Repository Service does not support filtering. |
Removes an MBean from the repository.
name | name of the MBean to remove. |
---|
InstanceNotFoundException | The MBean does not exist in the repository. |
---|
Retrieves the MBean of the name specified from the repository. The object name must match exactly.
name | name of the MBean to retrieve. |
---|
Match a string against a shell-style pattern. The only pattern
characters recognised are ?
, standing for any one
character, and *
, standing for any string of
characters, including the empty string.
str | the string to match, as a character array. |
---|---|
pat | the pattern to match the string against, as a character array. |