"adrian(a)jboss.org" wrote :
| Then JARStructure does something like:
|
|
| | if (annotationScanningEnabled && deploymentRecognised &&
annotationPresent)
| | {
| | addChild();
| | context.runAnnotationScanningCallbacks(context, env);
| | }
| |
|
This 'visitor pattern' definitely looks better.
But in this case the context used in JARStructure
looks useless to me, since I don't have any access to it
from EARStructure code - in EARStructure::scanEar.
Unless I access parent context's callbacks.
Which is too impl specific - ear contains jars notion.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4169055#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...