类 ChainedExceptionListener
- java.lang.Object
- org.springframework.jms.connection.ChainedExceptionListener
- 所有已实现的接口:
ExceptionListener
public class ChainedExceptionListener extends Object implements ExceptionListener
Implementation of the JMS ExceptionListener interface that supports chaining, allowing the addition of multiple ExceptionListener instances in order.- 从以下版本开始:
- 2.0
- 作者:
- Juergen Hoeller
构造器概要
构造器 构造器 说明 ChainedExceptionListener()
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 void
addDelegate(ExceptionListener listener)
Add an ExceptionListener to the chained delegate list.ExceptionListener[]
getDelegates()
Return all registered ExceptionListener delegates (as array).void
onException(JMSException ex)
构造器详细资料
ChainedExceptionListener
public ChainedExceptionListener()
方法详细资料
addDelegate
public final void addDelegate(ExceptionListener listener)
Add an ExceptionListener to the chained delegate list.
getDelegates
public final ExceptionListener[] getDelegates()
Return all registered ExceptionListener delegates (as array).
onException
public void onException(JMSException ex)
- 指定者:
onException
在接口中ExceptionListener