[jboss-dev-forums] [Design of EJB 3.0] - Re: BeanContainer.getAnnotation returning the old value
ALRubinger
do-not-reply at jboss.com
Mon Dec 1 22:58:31 EST 2008
PS - don't bother looking for this logging, I've added it locally only so far:
Index: core/src/main/java/org/jboss/ejb3/Ejb3DescriptorHandler.java
| ===================================================================
| --- core/src/main/java/org/jboss/ejb3/Ejb3DescriptorHandler.java (revision 81924)
| +++ core/src/main/java/org/jboss/ejb3/Ejb3DescriptorHandler.java (working copy)
| @@ -27,6 +27,8 @@
| import java.lang.reflect.Method;
| import java.util.ArrayList;
| import java.util.Arrays;
| +import java.util.Collection;
| +import java.util.Collections;
| import java.util.Iterator;
| import java.util.List;
| import java.util.Map;
| @@ -1089,6 +1091,12 @@
| {
| annotation.addValue(roleName);
| }
| +
| + // Log and add
| + log.debug("Adding @" + RolesAllowed.class.getSimpleName() + " for method "
| + + method.getMethodName() + "("
| + + method.getMethodParams() + ") of EJB " + method.getEjbName() + ": "
| + + Arrays.asList(annotation.value()));
| addAnnotations(RolesAllowed.class, annotation, container, method);
| }
| }
S,
ALR
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4193638#4193638
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4193638
More information about the jboss-dev-forums
mailing list