org.jboss.arquillian.container.test.spi.client.deployment
Interface ProtocolArchiveProcessor

All Known Implementing Classes:
BeansXMLProtocolProcessor

public interface ProtocolArchiveProcessor

Used by enrichers to add Enricher specific information to the Protocols archive.

Example: A BeanManager is only available if the caller is a BeanArchive. For Enterprise archives where the EJB module is a BeanArchive, the Protocol WAR is added without a beans.xml. The result is that the Protocol can't see the EJBs BeanManager. This extension point allowed the CDI enricher to add a beans.xml to the protocol.

Version:
$Revision: $
Author:
Aslak Knutsen

Method Summary
 void process(TestDeployment testDeployment, org.jboss.shrinkwrap.api.Archive<?> protocolArchive)
           
 

Method Detail

process

void process(TestDeployment testDeployment,
             org.jboss.shrinkwrap.api.Archive<?> protocolArchive)
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.