*/
public abstract class AbstractModulesProtocolDeploymentPackager implements DeploymentPackager {
public Archive<?> generateDeployment(TestDeployment testDeployment, Collection<ProtocolArchiveProcessor> processors) {
Archive<?> archive = testDeployment.getApplicationArchive();
WebArchive protocol = new ProtocolDeploymentAppender().createAuxiliaryArchive();
Collection<Archive<?>> auxiliaryArchives = testDeployment.getAuxiliaryArchives();
Processor processor = new Processor(testDeployment, processors);
if (archive instanceof EnterpriseArchive) {
final EnterpriseArchive ear = (EnterpriseArchive) archive;