|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jrockit.mc.rjmx.DescriptorRepository
public final class DescriptorRepository
The repository for IConnectionDescriptors.
| Constructor Summary | |
|---|---|
DescriptorRepository()
|
|
| Method Summary | |
|---|---|
void |
add(IConnectionDescriptor descriptor)
Registers the supplied descriptor with this model, replacing any descriptor with the same UID. |
void |
clearPasswords()
Clears all the passwords for the ConnectionDescriptors managed by this DescriptorRepository. |
boolean |
contains(IConnectionDescriptor descriptor)
Returns true if the repository contains the descriptor. |
IConnectionDescriptor |
findDescriptorByConnectionName(java.lang.String connectionName)
Looks up the connection descriptor with the specified connection name. |
IConnectionDescriptor |
getConnectionDescriptorByGUID(java.lang.String uid)
Returns the descriptor with the specified UID. |
java.util.Collection |
getConnectionDescriptors()
|
boolean |
remove(IConnectionDescriptor connectionDescriptor)
Removes both the descriptor from the model. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DescriptorRepository()
| Method Detail |
|---|
public java.util.Collection getConnectionDescriptors()
public IConnectionDescriptor getConnectionDescriptorByGUID(java.lang.String uid)
uid - the UID of the descriptor to return.
public boolean contains(IConnectionDescriptor descriptor)
descriptor - the descriptor to check for.
public boolean remove(IConnectionDescriptor connectionDescriptor)
connectionDescriptor - the descriptor to remove.public void add(IConnectionDescriptor descriptor)
descriptor - the connection descriptor to register.public IConnectionDescriptor findDescriptorByConnectionName(java.lang.String connectionName)
connectionName - the connection name of the descriptor being looked up.
public void clearPasswords()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||