The way we do it in the RHQ configuration API is each configurable entity can have an
arbitrary # of uniquely named templates, but the template with the name
"default" is the default template, which is used in certain use cases where the
client just wants a template to use to create an entity of that type and doesn't care
or know about any other template that may exist.
API-wise, we provide both a getTemplate(String name) API and a getDefaultTemplate() API,
which is actually just a shortcut for getTemplate("default").
http://svn.rhq-project.org/repos/rhq/trunk/modules/core/domain/src/main/j...
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4220221#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...