|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exoplatform.container.jmx.ObjectNameBuilder<T>
public class ObjectNameBuilder<T>
A builder for object name templates.
| Constructor Summary | |
|---|---|
ObjectNameBuilder(java.lang.String domain,
java.lang.Class<? extends T> clazz)
Create a new builder. |
|
| Method Summary | |
|---|---|
javax.management.ObjectName |
build(T object)
Build the object name or return null if the class is not annotated by NameTemplate. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ObjectNameBuilder(java.lang.String domain,
java.lang.Class<? extends T> clazz)
throws java.lang.IllegalArgumentException
clazz - the class
java.lang.IllegalArgumentException - if the object is null| Method Detail |
|---|
public javax.management.ObjectName build(T object)
throws java.lang.IllegalStateException
NameTemplate.
object - the object
java.lang.IllegalStateException - raised by a build time issue
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||