/** * Activate the methods by providing them with a bean manager. * Sort the method lists for the method types that can have multiple * entries. * * @param bm */ public void activateMethods(BeanManager bm) { beanMgr = bm; Collection<List<AnnotatedMethod>> methlists = methods.values(); for (List<AnnotatedMethod> list : methlists) { Collections.sort(list, new AnnotatedMethodComparator()); for (AnnotatedMethod meth : list) { meth.activate(bm); } } }