etm.contrib.aop.jboss
Class JbossInterceptorSupport

java.lang.Object
  extended by etm.contrib.aop.jboss.JbossInterceptorSupport
Direct Known Subclasses:
EtmJbossConstructorInterceptor, EtmJbossMethodInterceptor

public class JbossInterceptorSupport
extends java.lang.Object

Base class for JBoss AOP support (even though current content is pretty generic...)

Since:
1.2.2
Version:
$Revision: 241 $
Author:
void.fm

Constructor Summary
JbossInterceptorSupport()
           
 
Method Summary
protected  void alterNamePostException(EtmPoint aEtmPoint, java.lang.Throwable t)
          Alter name in case an exception is caught during processing.
protected  java.lang.String calculateShortName(java.lang.Class clazz)
          Calculate short name for a given class.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JbossInterceptorSupport

public JbossInterceptorSupport()
Method Detail

alterNamePostException

protected void alterNamePostException(EtmPoint aEtmPoint,
                                      java.lang.Throwable t)
Alter name in case an exception is caught during processing. Altering the name takes place after executing target method. Ensure that you never cause an exception within this code.

Parameters:
aEtmPoint - The EtmPoint to alter.
t - The caught throwable t.

calculateShortName

protected java.lang.String calculateShortName(java.lang.Class clazz)
Calculate short name for a given class.

Parameters:
clazz - The class object.
Returns:
The short name for the given class.


Copyright © 2004,2005, 2006, 2007 void.fm. All Rights Reserved.