org.jboss.arquillian.testenricher.cdi.client
Class BeansXMLProtocolProcessor

java.lang.Object
  extended by org.jboss.arquillian.testenricher.cdi.client.BeansXMLProtocolProcessor
All Implemented Interfaces:
ProtocolArchiveProcessor

public class BeansXMLProtocolProcessor
extends Object
implements ProtocolArchiveProcessor

A ProtocolArchiveProcessor that will add beans.xml to the protocol unit if one is defined in the test deployment.

Version:
$Revision: $
Author:
Aslak Knutsen

Constructor Summary
BeansXMLProtocolProcessor()
           
 
Method Summary
 void process(TestDeployment testDeployment, org.jboss.shrinkwrap.api.Archive<?> protocolArchive)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BeansXMLProtocolProcessor

public BeansXMLProtocolProcessor()
Method Detail

process

public void process(TestDeployment testDeployment,
                    org.jboss.shrinkwrap.api.Archive<?> protocolArchive)
Specified by:
process in interface ProtocolArchiveProcessor
Parameters:
testDeployment - The user defined deployment + auxilliary archives
protocolArchive - The archive where the protocol is bundled.


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