modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/common/PerformanceMonitorInterceptor.java | 10 ++++++++++ 1 file changed, 10 insertions(+)
New commits: commit 28827776f86388ba1068064d4f4c795f0f35c3af Author: John Mazzitelli mazz@redhat.com Date: Tue Jan 4 17:04:09 2011 -0500
javadoc
diff --git a/modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/common/PerformanceMonitorInterceptor.java b/modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/common/PerformanceMonitorInterceptor.java index 0d5bb87..da10897 100644 --- a/modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/common/PerformanceMonitorInterceptor.java +++ b/modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/common/PerformanceMonitorInterceptor.java @@ -5,6 +5,16 @@ import javax.interceptor.InvocationContext;
import org.rhq.enterprise.server.util.HibernatePerformanceMonitor;
+/** + * 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> + * --> + */ public class PerformanceMonitorInterceptor { @AroundInvoke public Object monitorHibernatePerformance(InvocationContext context) throws Exception {
rhq-commits@lists.fedorahosted.org