[jboss-dev] web profile in jboss5?

Adrian Brock abrock at redhat.com
Tue Nov 11 08:00:41 EST 2008


On Tue, 2008-11-11 at 13:58 +0100, Ales Justin wrote:
> I've actually added [VFS]DeploymentUnitFilter to AnnEnvDeployer,
> 
> public interface [VFS]DeploymentUnitFilter  {
> 
>     boolean accepts([VFS]DeploymentUnit deploymentUnit);
> }
> 
> so this is completely free to impl whatever we decide.
> 
> Currently I'm just excluding certain files.

That's nothing like as easy as modifying your deployment
to add an e.g. META-INF/jboss-scanning.xml

Also how do you override the rules from the 
profile service/management console?
e.g. I only want to scan one jar in my big archive.

When it comes to policy decisions, declarative is best.

In this case, it means being able to say exactly what jars you
want to scan in this deployment.

Configuration on a deployer should be for when you
have a general rule that is different to the default rule.
-- 
xxxxxxxxxxxxxxxxxxxxxxxxxxxx
Adrian Brock
Chief Scientist
JBoss, a division of Red Hat
xxxxxxxxxxxxxxxxxxxxxxxxxxxx




More information about the jboss-development mailing list