当前页面:
在线文档首页 >
JBoss 4.0.1 sp1 aspects API Documentation 英文版文档
CallLoggingInterceptor (JBoss Aspects API) - JBoss 4.0.1 sp1 aspects API Documentation 英文版文档
org.jboss.aspects.logging
Class CallLoggingInterceptor
java.lang.Object
org.jboss.aspects.logging.CallLoggingInterceptor
- All Implemented Interfaces:
- org.jboss.aop.advice.Interceptor, LoggingConstants
- public final class CallLoggingInterceptor
- extends Object
- implements org.jboss.aop.advice.Interceptor, LoggingConstants
Logs invocations.
- Version:
- $Revision: 1.2 $
- Author:
- Adrian Brock.
Field Summary |
protected org.jboss.logging.Logger |
log
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected org.jboss.logging.Logger log
CallLoggingInterceptor
public CallLoggingInterceptor()
getName
public String getName()
- Specified by:
getName
in interface org.jboss.aop.advice.Interceptor
invoke
public Object invoke(org.jboss.aop.joinpoint.Invocation invocation)
throws Throwable
- Specified by:
invoke
in interface org.jboss.aop.advice.Interceptor
- Throws:
Throwable
dumpInvocation
public String dumpInvocation(org.jboss.aop.joinpoint.Invocation invocation)
- Display useful information about the invocation
- Parameters:
invocation
- the invocation
dumpInvocationResponse
public String dumpInvocationResponse(Object response)
- Display useful information about the invocation response
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.