Nicklas Karlsson [
https://community.jboss.org/people/nickarls] created the discussion
"Re: JAR blacklist for deployment"
To view the discussion, visit:
https://community.jboss.org/message/786792#786792
--------------------------------------------------------------
As for the interface, perhaps something like
public interface DeploymentValidator
{
public void validateDeployment(DeploymentUnit deploymentUnit) throws
DeploymentUnitProcessingException;
}
might do. Or then DeploymentPhaseContext as parameter.
I'm not sure what would be the best way in JBoss Modules to add validation
implementation JARs without having to list them explicitly in some module.xml. Perhaps the
standard ServiceLoader mechanism is applicable.
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/786792#786792]
Start a new discussion in JBoss AS 7 Development at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]