org.rhq.enterprise.server.common
Class PerformanceMonitorInterceptor

java.lang.Object
  extended by org.rhq.enterprise.server.common.PerformanceMonitorInterceptor

public class PerformanceMonitorInterceptor
extends Object

To enable this interceptor, add a binding to the ejb-jar.xml: <!-- enable this to get lots of performance data as you navigate around the UI <interceptor-binding> <ejb-name>*</ejb-name> <interceptor-class>org.rhq.enterprise.server.common.PerformanceMonitorInterceptor</interceptor-class> </interceptor-binding> -->


Constructor Summary
PerformanceMonitorInterceptor()
           
 
Method Summary
 Object monitorHibernatePerformance(javax.interceptor.InvocationContext context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PerformanceMonitorInterceptor

public PerformanceMonitorInterceptor()
Method Detail

monitorHibernatePerformance

public Object monitorHibernatePerformance(javax.interceptor.InvocationContext context)
                                   throws Exception
Throws:
Exception


Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.