org.jboss.arquillian.impl.handler
Class AbstractRunModeHandler<T extends ClassEvent>

java.lang.Object
  extended by org.jboss.arquillian.impl.handler.AbstractRunModeHandler<T>
All Implemented Interfaces:
EventHandler<T>
Direct Known Subclasses:
ActivateRunModeTypeClient, ActivateRunModeTypeDeployment

public abstract class AbstractRunModeHandler<T extends ClassEvent>
extends Object
implements EventHandler<T>

Abstract RunMode Handler for checking and delegating the different run modes to sub classes.

Version:
$Revision: $
Author:
Aslak Knutsen

Constructor Summary
AbstractRunModeHandler()
           
 
Method Summary
 void callback(Context context, ClassEvent event)
           
protected abstract  void hasClientRunMode(Context context)
           
protected abstract  void hasContainerRunMode(Context context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractRunModeHandler

public AbstractRunModeHandler()
Method Detail

callback

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

hasClientRunMode

protected abstract void hasClientRunMode(Context context)

hasContainerRunMode

protected abstract void hasContainerRunMode(Context context)


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