Juergen Zimmermann [
https://community.jboss.org/people/Juergen.Zimmermann] created the
discussion
"Re: JBossAS 7.1.3.CR1: JBoss Solder doesn't work anymore"
To view the discussion, visit:
https://community.jboss.org/message/760895#760895
--------------------------------------------------------------
Lines 377ff:
<T, X> void registerGenericBeanObserverMethod(@Observes
ProcessObserverMethod<T, X> event) {
AnnotatedType<X> declaringType =
event.getAnnotatedMethod().getDeclaringType(); // <-- 378
if (declaringType.isAnnotationPresent(GenericConfiguration.class)) {
AnnotatedMethod<X> method = event.getAnnotatedMethod();
Class<? extends Annotation> genericConfigurationType =
declaringType.getAnnotation(GenericConfiguration.class).value();
genericBeanObserverMethods.put(genericConfigurationType, new
ObserverMethodHolder<X, T>(method, event.getObserverMethod()));
}
}
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/760895#760895]
Start a new discussion in JBoss AS 7 Development at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]