Interface ProtocolArchiveProcessor
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.
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
Modifier and TypeMethodDescriptionvoidprocess(TestDeployment testDeployment, org.jboss.shrinkwrap.api.Archive<?> protocolArchive)
-
Method Details
-
process
- Parameters:
testDeployment- The user defined deployment + auxilliary archivesprotocolArchive- The archive where the protocol is bundled.
-