ch.elca.el4j.tests.services.exceptionhandler
Class ReconfigureExceptionHandler

java.lang.Object
  extended by ch.elca.el4j.services.exceptionhandler.handler.AbstractExceptionHandler
      extended by ch.elca.el4j.services.exceptionhandler.handler.AbstractRetryExceptionHandler
          extended by ch.elca.el4j.services.exceptionhandler.handler.AbstractReconfigureExceptionHandler
              extended by ch.elca.el4j.tests.services.exceptionhandler.ReconfigureExceptionHandler
All Implemented Interfaces:
ExceptionHandler

public class ReconfigureExceptionHandler
extends AbstractReconfigureExceptionHandler

This exception handler reconfigures the A bean, exchanging the concrete Adder implementation.

Author:
Andreas Bur (ABU)
File-location:
ReconfigureExceptionHandler
Last check-in date:
2009-08-04 15:35:01 +0200 (Di, 04. Aug 2009) by swismer for revision 3883

Field Summary
private  C m_c
          The replacement object.
 
Constructor Summary
ReconfigureExceptionHandler()
           
 
Method Summary
protected  void reconfigure(Throwable t, org.aopalliance.intercept.MethodInvocation invocation, org.slf4j.Logger logger)
          
 void setC(C c)
          Sets the replacement object.
 
Methods inherited from class ch.elca.el4j.services.exceptionhandler.handler.AbstractReconfigureExceptionHandler
retry
 
Methods inherited from class ch.elca.el4j.services.exceptionhandler.handler.AbstractRetryExceptionHandler
getRetries, handleException, setRetries
 
Methods inherited from class ch.elca.el4j.services.exceptionhandler.handler.AbstractExceptionHandler
getInvocationDescription, handleException, setUseDynamicLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_c

private C m_c
The replacement object.

Constructor Detail

ReconfigureExceptionHandler

public ReconfigureExceptionHandler()
Method Detail

setC

public void setC(C c)
Sets the replacement object.

Parameters:
c - The instance of C that is used as the replacement.

reconfigure

protected void reconfigure(Throwable t,
                           org.aopalliance.intercept.MethodInvocation invocation,
                           org.slf4j.Logger logger)

Specified by:
reconfigure in class AbstractReconfigureExceptionHandler


Copyright © 2005-2011 ELCA. All Rights Reserved.