[EJB 3.0] - EJB metrics...
by raags
I'm using JBoss 4.2.0 GA and I'm trying to look at the metrics for my SLSB bean using JMX console.
My client is able to sucessful connect to the bean but I don't see the metrics change.. Is there anything I have to do to start looking at the metrics?
anonymous wrote : AvailableCount int R 30 MBean Attribute.
| MaxSize int R 30 MBean Attribute.
| StateString java.lang.String R Started MBean Attribute.
| State int R 3 MBean Attribute.
| CurrentSize int R 0 MBean Attribute.
| CreateCount int R 0 MBean Attribute.
| RemoveCount int R 0 MBean Attribute.
| Name java.lang.String R StatelessDelegateWrapper MBean Attribute
Thanks!
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4142980#4142980
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4142980
18 years
[JBoss AOP] - Re: Are names supposed to be unique in JBoss AOP?
by flavia.rainone@jboss.com
Hi again,
I have taken a deeper look at the code, and now I see that JBoss AOP does not generate another aspect class to represent the same interceptor. When the attribute name is ommitted, JBoss AOP names the AspectDefinition object after the class of the interceptor. I.e., the declaration below:
<bind pointcut="execution(* POJO$Bar->*(..))">
| <interceptor class="MethodInterceptor"/>
| </bind>
Will generate an AspectDefinition named "MethodInterceptor". When another binding with the same interceptor tag is found (and with the name attribute ommitted again), JBoss AOP looks for an AspectDefinition named "MethodInterceptor" instead of creating another AspectDefinition.
So, in the example you gave, JBoss AOP creates an AspectDefinition to represent SimpleInterceptor when it finds the first binding. When it finds the second one, it creates an AspectDefinition named MethodInterceptor. In the next bindings, it realizes it already has an AspectDefinition named MethodInterceptor and reuses this definition instead of creating extra AspectDefinitions.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4142970#4142970
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4142970
18 years