"alesj" wrote : "adrian(a)jboss.org" wrote :
| | 4) In StructureDeployerWrapper, ignore StructureDeployers where this
| | property is false when the candidateAnnotationScanning is enabled.
| |
| Ignore how / what?
|
| Probably not in this way:
|
| | public boolean determineStructure(StructureContext context) throws
DeploymentException
| | {
| | if (context == null)
| | throw new IllegalArgumentException("Null context");
| |
| | if (supportsCandidateAnnotations() == false)
| | return false;
| |
| since we then don't even do basic recognition.
You don't want to do basic recognition. If the structure doesn't support
annotation scanning then you don't want to add to the ear.
e.g. a -service.xml shouldn't be added to the ear if it isn't listed in
application/jboss-app.xml
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4168954#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...