ch.elca.el4j.tests.services.exceptionhandler
Class ReconfigureExceptionHandler
java.lang.Object
ch.elca.el4j.services.exceptionhandler.handler.AbstractExceptionHandler
ch.elca.el4j.services.exceptionhandler.handler.AbstractRetryExceptionHandler
ch.elca.el4j.services.exceptionhandler.handler.AbstractReconfigureExceptionHandler
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. |
|
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
m_c
private C m_c
- The replacement object.
ReconfigureExceptionHandler
public ReconfigureExceptionHandler()
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.