Class ObjectNameBuilder<T>
java.lang.Object
org.exoplatform.management.jmx.impl.ObjectNameBuilder<T>
A builder for object name templates.
- Version:
- $Revision$
- Author:
- Julien Viet
-
Constructor Summary
ConstructorsConstructorDescriptionObjectNameBuilder(String domain, Class<? extends T> clazz) Create a new builder. -
Method Summary
Modifier and TypeMethodDescriptionBuild the object name or return null if the class is not annotated byNameTemplate.
-
Constructor Details
-
ObjectNameBuilder
Create a new builder.- Parameters:
clazz- the class- Throws:
IllegalArgumentException- if the object is null
-
-
Method Details
-
build
Build the object name or return null if the class is not annotated byNameTemplate.- Parameters:
object- the object- Returns:
- the built name
- Throws:
IllegalStateException- raised by a build time issue
-