org.jboss.arquillian.impl.handler
Class ActivateRunModeTypeDeployment

java.lang.Object
  extended by org.jboss.arquillian.impl.handler.AbstractRunModeHandler<BeforeClass>
      extended by org.jboss.arquillian.impl.handler.ActivateRunModeTypeDeployment
All Implemented Interfaces:
EventHandler<BeforeClass>

public class ActivateRunModeTypeDeployment
extends AbstractRunModeHandler<BeforeClass>

Handler that will setup the context as defined by the RunModeType.
RunModeType.AS_CLIENT: Binds the ApplicationArchiveDeploymentGenerator, a DeploymentGenerator that only use the ApplicationArchiveGenerator SPI.
RunModeType.IN_CONTAINER: Binds the ClientDeploymentGenerator, a DeploymentGenerator that use the full Packager SPI. DeploymentPackager, ApplicationArchiveGenerator, ApplicationArchiveProcessor, AuxiliaryArchiveAppender and AuxiliaryArchiveProcessor

Exports:
DeploymentGenerator

Version:
$Revision: $
Author:
Aslak Knutsen

Constructor Summary
ActivateRunModeTypeDeployment()
           
 
Method Summary
protected  void hasClientRunMode(Context context)
           
protected  void hasContainerRunMode(Context context)
           
 
Methods inherited from class org.jboss.arquillian.impl.handler.AbstractRunModeHandler
callback
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ActivateRunModeTypeDeployment

public ActivateRunModeTypeDeployment()
Method Detail

hasClientRunMode

protected void hasClientRunMode(Context context)
Specified by:
hasClientRunMode in class AbstractRunModeHandler<BeforeClass>

hasContainerRunMode

protected void hasContainerRunMode(Context context)
Specified by:
hasContainerRunMode in class AbstractRunModeHandler<BeforeClass>


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