Permalink
Browse files

fix EventMessage

  • Loading branch information...
1 parent 5a526c4 commit 05c36882828e0276493e4367a456114cb2e70a62 @smaldini committed May 21, 2012
@@ -248,7 +248,7 @@ public GrailsServiceActivatingHandler(Object object, Method method, ListenerId l
super(object, method);
if (method.getParameterTypes().length > 0) {
Class<?> type = method.getParameterTypes()[0];
- useEventMessage = type.isAssignableFrom(EventMessage.class);
+ useEventMessage = EventMessage.class.isAssignableFrom(type);
}
this.listenerId = listenerId;
}

0 comments on commit 05c3688

Please sign in to comment.