public List<Annotated<Method>> findMetaAnnotatedMethods(Class<? extends Annotation> annotation) { List<Method> methods = findAnnotatedMethods(annotation); List<Annotated<Method>> list = new ArrayList<Annotated<Method>>(); for (final Method method : methods) { list.add(new MetaAnnotatedMethod(method)); } return list; }
public List<Annotated<Method>> findMetaAnnotatedMethods(Class<? extends Annotation> annotation) { List<Method> methods = findAnnotatedMethods(annotation); List<Annotated<Method>> list = new ArrayList<Annotated<Method>>(); for (final Method method : methods) { list.add(new MetaAnnotatedMethod(method)); } return list; }
public List<Annotated<Method>> findMetaAnnotatedMethods(Class<? extends Annotation> annotation) { List<Method> methods = findAnnotatedMethods(annotation); List<Annotated<Method>> list = new ArrayList<Annotated<Method>>(); for (final Method method : methods) { list.add(new MetaAnnotatedMethod(method)); } return list; }
log.debug("processHandlerChain(): Entry: AnnotatedApp: " + annotatedApp.toString()); List<Method> methodswithHandlerChain = classFinder.findAnnotatedMethods(HandlerChain.class); List<Field> fieldswithHandlerChain = classFinder.findAnnotatedFields(HandlerChain.class);
List<Method> methodswithPersistenceUnit = classFinder.findAnnotatedMethods(PersistenceUnit.class); List<Field> fieldswithPersistenceUnit = classFinder.findAnnotatedFields(PersistenceUnit.class);
List<Method> methodswithWebServiceRef = classFinder.findAnnotatedMethods(WebServiceRef.class); List<Field> fieldswithWebServiceRef = classFinder.findAnnotatedFields(WebServiceRef.class);
List<Method> methodsWithEJB = classFinder.findAnnotatedMethods(EJB.class); List<Field> fieldsWithEJB = classFinder.findAnnotatedFields(EJB.class);
List<Method> methodswithPersistenceContext = classFinder.findAnnotatedMethods(PersistenceContext.class); List<Field> fieldswithPersistenceContext = classFinder.findAnnotatedFields(PersistenceContext.class);
List<Method> methodswithResource = classFinder.findAnnotatedMethods(Resource.class); List<Field> fieldswithResource = classFinder.findAnnotatedFields(Resource.class);
Map<String, LifecycleCallback> preDestroyMap = mapLifecycleCallbacks(lifecycle.getPreDestroy(), componentType); if (module.getClassFinder() != null) { List<Method> postConstructs = classFinder.findAnnotatedMethods(PostConstruct.class); for (Method m : postConstructs) { String methodName = m.getName(); List<Method> preDestroys = classFinder.findAnnotatedMethods(PreDestroy.class); for (Method m : preDestroys) { String methodName = m.getName();