|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.jdmk.RepositorySupport
public class RepositorySupport
The RepositorySupport implements the Repository interface. This repository does not support persistency.
| Constructor Summary | |
|---|---|
RepositorySupport()
Deprecated. The default constructor. |
|
| Method Summary | |
|---|---|
void |
addMBean(java.lang.Object object,
javax.management.ObjectName name)
Deprecated. Stores an MBean associated with its object name in the repository. |
boolean |
contains(javax.management.ObjectName name)
Deprecated. Checks whether an MBean of the name specified is already stored in the repository. |
java.lang.Integer |
getCount()
Deprecated. Gets the number of MBeans stored in the repository. |
java.lang.String |
getDefaultDomain()
Deprecated. Gets the name of the domain currently used by default in the repository. |
boolean |
isFiltering()
Deprecated. Indicates whether or not the Repository Service supports filtering. |
java.util.Set |
query(javax.management.ObjectName pattern,
javax.management.QueryExp query)
Deprecated. Selects and retrieves the list of MBeans whose names match the specified object name pattern and which match the specified query expression (optionally). |
void |
remove(javax.management.ObjectName name)
Deprecated. Removes an MBean from the repository. |
java.lang.Object |
retrieve(javax.management.ObjectName name)
Deprecated. Retrieves the MBean of the name specified from the repository. |
void |
setConfigParameters(java.util.ArrayList configParameters)
Deprecated. The purpose of this method is to provide a unified way to provide whatever configuration information is needed by the specific underlying implementation of the repository. |
void |
setDefaultDomain(java.lang.String domain)
Deprecated. Sets the name of the domain currently used by default in the repository. |
static boolean |
wildmatch(char[] str,
char[] pat)
Deprecated. Match a string against a shell-style pattern. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RepositorySupport()
| Method Detail |
|---|
public static boolean wildmatch(char[] str,
char[] pat)
?, 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.
public void setConfigParameters(java.util.ArrayList configParameters)
setConfigParameters in interface RepositoryconfigParameters - An list containing the configuration
parameters needed by the specific Repository Service
implementation.public boolean isFiltering()
isFiltering in interface Repository
public void addMBean(java.lang.Object object,
javax.management.ObjectName name)
throws javax.management.InstanceAlreadyExistsException
addMBean in interface Repositoryobject - MBean to be stored in the repository.name - MBean object name.
javax.management.InstanceAlreadyExistsException - The MBean is already stored in the repository.public boolean contains(javax.management.ObjectName name)
contains in interface Repositoryname - name of the MBean to find.
public java.lang.Object retrieve(javax.management.ObjectName name)
retrieve in interface Repositoryname - name of the MBean to retrieve.
public java.util.Set query(javax.management.ObjectName pattern,
javax.management.QueryExp query)
query in interface Repositorypattern - 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.
public void remove(javax.management.ObjectName name)
throws javax.management.InstanceNotFoundException
remove in interface Repositoryname - name of the MBean to remove.
javax.management.InstanceNotFoundException - The MBean does not exist in
the repository.public java.lang.Integer getCount()
getCount in interface Repositorypublic java.lang.String getDefaultDomain()
getDefaultDomain in interface Repositorypublic void setDefaultDomain(java.lang.String domain)
setDefaultDomain in interface Repositorydomain - the default domain name.
|
Open Source build 01-ea opendmk-1.0-b01-ea 2010.10.20_19:39:55_UTC |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||