|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface NamePattern
An interface to MBeans supporting name patterns for automatic name generation.
| Method Summary | |
|---|---|
String |
getNamePattern()
Gets the name pattern as a string. |
ObjectName |
getQueryPattern()
Gets the name pattern as an object name query. |
void |
setNamePattern(String pattern)
Sets the name pattern as a string. |
void |
setQueryPattern(ObjectName pattern)
Sets the name pattern as an object name query. |
| Method Detail |
|---|
String getNamePattern()
void setNamePattern(String pattern)
throws MalformedObjectNameException
pattern - the name pattern.
MalformedObjectNameException - for an invalid name.
IllegalStateException - if a more specific pattern already set.ObjectName getQueryPattern()
void setQueryPattern(ObjectName pattern)
pattern - the query pattern.
IllegalStateException - if a more specific pattern already set.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||