Liferay 7.0-ce-b4

com.liferay.portal.kernel.backgroundtask
Class DelegatingBackgroundTaskExecutor

java.lang.Object
  extended by com.liferay.portal.kernel.backgroundtask.DelegatingBackgroundTaskExecutor
All Implemented Interfaces:
BackgroundTaskExecutor
Direct Known Subclasses:
ClassLoaderAwareBackgroundTaskExecutor, SerialBackgroundTaskExecutor, ThreadLocalAwareBackgroundTaskExecutor

public class DelegatingBackgroundTaskExecutor
extends Object
implements BackgroundTaskExecutor


Constructor Summary
DelegatingBackgroundTaskExecutor(BackgroundTaskExecutor backgroundTaskExecutor)
           
 
Method Summary
 BackgroundTaskExecutor clone()
           
 BackgroundTaskResult execute(BackgroundTask backgroundTask)
           
 BackgroundTaskDisplay getBackgroundTaskDisplay(BackgroundTask backgroundTask)
           
protected  BackgroundTaskExecutor getBackgroundTaskExecutor()
           
 BackgroundTaskStatusMessageTranslator getBackgroundTaskStatusMessageTranslator()
           
 int getIsolationLevel()
           
 String handleException(BackgroundTask backgroundTask, Exception e)
           
 boolean isSerial()
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DelegatingBackgroundTaskExecutor

public DelegatingBackgroundTaskExecutor(BackgroundTaskExecutor backgroundTaskExecutor)
Method Detail

clone

public BackgroundTaskExecutor clone()
Specified by:
clone in interface BackgroundTaskExecutor
Overrides:
clone in class Object

execute

public BackgroundTaskResult execute(BackgroundTask backgroundTask)
                             throws Exception
Specified by:
execute in interface BackgroundTaskExecutor
Throws:
Exception

getBackgroundTaskDisplay

public BackgroundTaskDisplay getBackgroundTaskDisplay(BackgroundTask backgroundTask)
Specified by:
getBackgroundTaskDisplay in interface BackgroundTaskExecutor

getBackgroundTaskStatusMessageTranslator

public BackgroundTaskStatusMessageTranslator getBackgroundTaskStatusMessageTranslator()
Specified by:
getBackgroundTaskStatusMessageTranslator in interface BackgroundTaskExecutor

getIsolationLevel

public int getIsolationLevel()
Specified by:
getIsolationLevel in interface BackgroundTaskExecutor

handleException

public String handleException(BackgroundTask backgroundTask,
                              Exception e)
Specified by:
handleException in interface BackgroundTaskExecutor

isSerial

public boolean isSerial()
Specified by:
isSerial in interface BackgroundTaskExecutor

getBackgroundTaskExecutor

protected BackgroundTaskExecutor getBackgroundTaskExecutor()

Liferay 7.0-ce-b4