public class BeansXMLProtocolProcessor extends java.lang.Object implements ProtocolArchiveProcessor
ProtocolArchiveProcessor
that will add beans.xml to the protocol unit if one is defined in the test deployment.Constructor and Description |
---|
BeansXMLProtocolProcessor() |
Modifier and Type | Method and Description |
---|---|
private boolean |
containsBeansXML(org.jboss.shrinkwrap.api.Archive<?> archive) |
void |
process(TestDeployment testDeployment,
org.jboss.shrinkwrap.api.Archive<?> protocolArchive) |
public void process(TestDeployment testDeployment, org.jboss.shrinkwrap.api.Archive<?> protocolArchive)
process
in interface ProtocolArchiveProcessor
testDeployment
- The user defined deployment + auxilliary archivesprotocolArchive
- The archive where the protocol is bundled.private boolean containsBeansXML(org.jboss.shrinkwrap.api.Archive<?> archive)