[jboss-dev-forums] [JBoss AS 7 Development] - Re: JAR blacklist for deployment
Nicklas Karlsson
do-not-reply at jboss.com
Mon Dec 31 01:46:33 EST 2012
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&containerType=14&container=2225]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20121231/4e19c04c/attachment.html
More information about the jboss-dev-forums
mailing list