|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
The Repository interface provides local access to the implementation of Repository Service in use in the agent.
| Method Summary | |
void |
addMBean(Object object,
ObjectName name)
Deprecated. Stores an MBean associated with its object name in the repository. |
boolean |
contains(ObjectName name)
Deprecated. Checks whether an MBean of the name specified is already stored in the repository. |
Integer |
getCount()
Deprecated. Gets the number of MBeans stored in the repository. |
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. |
Set |
query(ObjectName name,
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(ObjectName name)
Deprecated. Removes an MBean from the repository. |
Object |
retrieve(ObjectName name)
Deprecated. Retrieves the MBean of the name specified from the repository. |
void |
setConfigParameters(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(String domain)
Deprecated. Sets the name of the domain currently used by default in the repository. |
| Method Detail |
public void setConfigParameters(ArrayList configParameters)
configParameters - An list containing the configuration parameters needed by the specific
Repository Service implementation.public boolean isFiltering()
public void addMBean(Object object,
ObjectName name)
throws InstanceAlreadyExistsException
object - MBean to be stored in the repository.name - MBean object name.
InstanceAlreadyExistsException - The MBean is already stored in the repository.public boolean contains(ObjectName name)
name - name of the MBean to find.
public Object retrieve(ObjectName name)
name - name of the MBean to retrieve.
public Set query(ObjectName name,
QueryExp query)
name - 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(ObjectName name)
throws InstanceNotFoundException
name - name of the MBean to remove.
InstanceNotFoundException - The MBean does not exist in the repository.public Integer getCount()
public String getDefaultDomain()
public void setDefaultDomain(String domain)
domain - the default domain name.
|
FCS Release jdmk-5_1-b34.1 2005.02.10_16:46:09_MET |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||