io.airlift.bootstrap
Class Executed

java.lang.Object
  extended by io.airlift.bootstrap.Executed
All Implemented Interfaces:
Runnable

public abstract class Executed
extends Object
implements Runnable

Extend this class to get run-in-thread behavior


Constructor Summary
Executed()
           
 
Method Summary
 void startExecution()
           
 void stopExecution()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.lang.Runnable
run
 

Constructor Detail

Executed

public Executed()
Method Detail

startExecution

@PostConstruct
public void startExecution()

stopExecution

@PreDestroy
public void stopExecution()


Copyright © 2010-2012 Airlift. All Rights Reserved.