org.jboss.arquillian.impl.handler
Class ContainerRestarter

java.lang.Object
  extended by org.jboss.arquillian.impl.handler.ContainerRestarter
All Implemented Interfaces:
EventHandler<SuiteEvent>

public class ContainerRestarter
extends Object
implements EventHandler<SuiteEvent>

A Handler for restarting the DeployableContainer for every X deployments.

Fires:
BeforeStop
AfterStop
BeforeStart
AfterStart

Imports:
DeployableContainer

Version:
$Revision: $
Author:
Aslak Knutsen
See Also:
DeployableContainer

Constructor Summary
ContainerRestarter()
           
 
Method Summary
 void callback(Context context, SuiteEvent event)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContainerRestarter

public ContainerRestarter()
Method Detail

callback

public void callback(Context context,
                     SuiteEvent event)
              throws Exception
Specified by:
callback in interface EventHandler<SuiteEvent>
Throws:
Exception


Copyright © 2010 JBoss, a division of Red Hat, Inc.. All Rights Reserved.