Skip to content

Commit

Permalink
WELD-1563 Session bean observer method validation does not consider m…
Browse files Browse the repository at this point in the history
…ethods declared on local interface superinterface
  • Loading branch information
jharting committed Nov 29, 2013
1 parent d0aa7d1 commit a0f84c1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions impl/src/main/java/org/jboss/weld/bean/SessionBean.java
Expand Up @@ -389,12 +389,12 @@ protected void checkObserverMethods() {
if (!observerMethods.isEmpty()) {
Set<MethodSignature> businessMethodSignatures = new HashSet<MethodSignature>();
for (BusinessInterfaceDescriptor<?> businessInterfaceDescriptor : ejbDescriptor.getLocalBusinessInterfaces()) {
for (Method m : businessInterfaceDescriptor.getInterface().getDeclaredMethods()) {
for (Method m : businessInterfaceDescriptor.getInterface().getMethods()) {
businessMethodSignatures.add(new MethodSignatureImpl(m));
}
}
for (BusinessInterfaceDescriptor<?> businessInterfaceDescriptor : ejbDescriptor.getRemoteBusinessInterfaces()) {
for (Method m : businessInterfaceDescriptor.getInterface().getDeclaredMethods()) {
for (Method m : businessInterfaceDescriptor.getInterface().getMethods()) {
businessMethodSignatures.add(new MethodSignatureImpl(m));
}
}
Expand Down

0 comments on commit a0f84c1

Please sign in to comment.