[jboss-dev-forums] [Design of Management Features on JBoss] - Re: JBAS-6647, templates
ips
do-not-reply at jboss.com
Fri Mar 20 21:10:31 EDT 2009
You can ignore that comment. It was meant for https://jira.jboss.org/jira/browse/JBAS-6646; I mistakenly added it to https://jira.jboss.org/jira/browse/JBAS-6647 instead.
Here is a relevant comment from JBAS-6647 that I would like to hear your thoughts on:
I think it may make more sense to key the templates off of the ManagedComponent type names, rather than having separate template names, i.e.:
ManagementView.getTemplate(ComponentType componentType)
rather than:
ManagementView.getTemplate(String templateName)
Or if we need to support having multiple templates per component type, perhaps the notion of a default template and a new getDefaultTemplate() method could be added, i.e.:
ManagementView.getDefaultTemplate(ComponentType componentType)
If we had either of these APIs, we wouldn't have to maintain a ProfileService template name for each RHQ ResourceType in the jboss-as-5 plugin descriptor.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4220003#4220003
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4220003
More information about the jboss-dev-forums
mailing list