站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Spring Framework 2.0.5 API 文档英文版

DelegatingExceptionProofRunnable (Spring Framework API 2.0) - Spring Framework 2.0.5 API 文档英文版

The Spring Framework

org.springframework.scheduling.support
Class DelegatingExceptionProofRunnable

java.lang.Object
  extended by org.springframework.scheduling.support.DelegatingExceptionProofRunnable
All Implemented Interfaces:
Runnable

public class DelegatingExceptionProofRunnable
extends Object
implements Runnable

Runnable wrapper that catches any exception or error thrown from its delegate Runnable. Used for continuing scheduled execution even after an exception thrown from a task's Runnable.

Since:
2.0.5
Author:
Juergen Hoeller

Constructor Summary
DelegatingExceptionProofRunnable(Runnable delegate)
          Create a new DelegatingExceptionProofRunnable.
 
Method Summary
 Runnable getDelegate()
           
 void run()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DelegatingExceptionProofRunnable

public DelegatingExceptionProofRunnable(Runnable delegate)
Create a new DelegatingExceptionProofRunnable.

Parameters:
delegate - the Runnable implementation to delegate to
Method Detail

getDelegate

public final Runnable getDelegate()

run

public void run()
Specified by:
run in interface Runnable

The Spring Framework

Copyright © 2002-2007 The Spring Framework.