[jboss-dev-forums] [Design of Management Features on JBoss] - Re: EJB3 managed component names and types
ips
do-not-reply at jboss.com
Wed Jun 10 18:42:29 EDT 2009
After thinking about this some more, the instance metrics and invocation metrics for a given EJB3 SLSB are currently exposed via two different component instances, both of type EJB3:SLSB. This goes against the rule that all components of a given type should have the same signature (i.e. set of properties and operations). At least I think this should be a rule, and I think Scott is in agreement. Otherwise, clients end up needing to first query by type and then parse the returned component names to determine the component's "sub-type", rather than being able to query on the type alone.
So in this case, I think we should either have
1) a single component type EJB3:SLSB with one component instance of that type per SLSB that exposes both instance and invocation metrics
or
2) two component types EJB3:SLSB-instance and EJB3:SLSB-invocation with one component instance for each of these types per SLSB
Thoughts?
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4236854#4236854
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4236854
More information about the jboss-dev-forums
mailing list