Add support for candidate structure based on annotations
--------------------------------------------------------
Key: JBDEPLOY-67
URL:
https://jira.jboss.org/jira/browse/JBDEPLOY-67
Project: JBoss Deployers
Issue Type: Task
Components: structure
Reporter: Adrian Brock
Fix For: JBDEPLOY-2.0.0.CR1
To help support the ear processing that adds subdeployments
based on annotations existing we should add some generic support.
Currently the structure deployers look at candidate sub-deployments
and add them to the structure if they match.
We need a new mode where a StructureDeployer can recognise the deployment,
determine the classpath and then look for certain annotation types.
If the annotation exists then the context is added otherwise it is ignored.
Ideally all a structure deployer should have to do is provide the annotation
class names to look for, with the StructuralDeployers infrastructure
and AbstractStructureDeployer classes taking care of most of the work.
The new mode, needs a new parameter passing so this work
depends on the "StructureContext" refactoring, JBDEPLOY-66
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira