com.alibaba.druid.support.spring.stat
Class DruidStatInterceptor

java.lang.Object
  extended by com.alibaba.druid.support.spring.stat.DruidStatInterceptor
All Implemented Interfaces:
org.aopalliance.aop.Advice, org.aopalliance.intercept.Interceptor, org.aopalliance.intercept.MethodInterceptor, org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.InitializingBean

public class DruidStatInterceptor
extends Object
implements org.aopalliance.intercept.MethodInterceptor, org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.DisposableBean


Field Summary
static String PROP_NAME_PORFILE
           
 
Constructor Summary
DruidStatInterceptor()
           
 
Method Summary
 void afterPropertiesSet()
           
 void destroy()
           
 SpringMethodInfo getMethodInfo(org.aopalliance.intercept.MethodInvocation invocation)
           
 Object invoke(org.aopalliance.intercept.MethodInvocation invocation)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROP_NAME_PORFILE

public static final String PROP_NAME_PORFILE
See Also:
Constant Field Values
Constructor Detail

DruidStatInterceptor

public DruidStatInterceptor()
Method Detail

afterPropertiesSet

public void afterPropertiesSet()
                        throws Exception
Specified by:
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
Throws:
Exception

destroy

public void destroy()
             throws Exception
Specified by:
destroy in interface org.springframework.beans.factory.DisposableBean
Throws:
Exception

invoke

public Object invoke(org.aopalliance.intercept.MethodInvocation invocation)
              throws Throwable
Specified by:
invoke in interface org.aopalliance.intercept.MethodInterceptor
Throws:
Throwable

getMethodInfo

public SpringMethodInfo getMethodInfo(org.aopalliance.intercept.MethodInvocation invocation)


Copyright © 2012 Alibaba Group. All Rights Reserved.