[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: StructureContext and candidate annotations

alesj do-not-reply at jboss.com
Wed Aug 6 05:11:43 EDT 2008


"adrian at 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.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4168933#4168933

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4168933



More information about the jboss-dev-forums mailing list