return getInvalidAnnotatedElementHandlerResult( ainfo.getProcessingContext().getHandler(), ainfo); if (!supportTypeInheritance() && ElementType.TYPE.equals(ainfo.getElementType()) && aeHandler instanceof ComponentContext) { if (!clazz.getName().equals(context.getComponentClassName())) { if (logger.isLoggable(Level.WARNING)) { log(Level.WARNING, ainfo, localStrings.getLocalString( "enterprise.deployment.annotation.handlers.typeinhernotsupp", "The annotation symbol inheritance is not supported.")); return getDefaultProcessedResult(); procResult = processAnnotation(ainfo, new EjbContext[] { (EjbContext)aeHandler }); } else if (aeHandler instanceof EjbsContext) { EjbsContext ejbsContext = (EjbsContext)aeHandler; procResult = processAnnotation(ainfo, ejbsContext.getEjbContexts()); } else if (aeHandler instanceof WebComponentContext) { procResult = processAnnotation(ainfo, new WebComponentContext[] { (WebComponentContext)aeHandler }); } else if (aeHandler instanceof WebComponentsContext) { WebComponentsContext webCompsContext = (WebComponentsContext)aeHandler; procResult = processAnnotation(ainfo, webCompsContext.getWebComponentContexts()); } else if (aeHandler instanceof WebBundleContext) { WebBundleContext webBundleContext = (WebBundleContext)aeHandler; procResult = processAnnotation(ainfo, webBundleContext);
return getInvalidAnnotatedElementHandlerResult( ainfo.getProcessingContext().getHandler(), ainfo); if (!supportTypeInheritance() && ElementType.TYPE.equals(ainfo.getElementType()) && aeHandler instanceof ComponentContext) { if (!clazz.getName().equals(context.getComponentClassName())) { if (logger.isLoggable(Level.WARNING)) { log(Level.WARNING, ainfo, localStrings.getLocalString( "enterprise.deployment.annotation.handlers.typeinhernotsupp", "The annotation symbol inheritance is not supported.")); return getDefaultProcessedResult(); procResult = processAnnotation(ainfo, new EjbContext[] { (EjbContext)aeHandler }); } else if (aeHandler instanceof EjbsContext) { EjbsContext ejbsContext = (EjbsContext)aeHandler; procResult = processAnnotation(ainfo, ejbsContext.getEjbContexts()); } else if (aeHandler instanceof WebComponentContext) { procResult = processAnnotation(ainfo, new WebComponentContext[] { (WebComponentContext)aeHandler }); } else if (aeHandler instanceof WebComponentsContext) { WebComponentsContext webCompsContext = (WebComponentsContext)aeHandler; procResult = processAnnotation(ainfo, webCompsContext.getWebComponentContexts()); } else if (aeHandler instanceof WebBundleContext) { WebBundleContext webBundleContext = (WebBundleContext)aeHandler; procResult = processAnnotation(ainfo, webBundleContext);