コード例 #1
0
 protected ParameterResolverFactory createParameterResolverFactory() {
   return ClasspathParameterResolverFactory.forClass(getClass());
 }
コード例 #2
0
 /**
  * Wraps the given <code>annotatedEventListener</code>, allowing it to be subscribed to an Event
  * Bus.
  *
  * @param annotatedEventListener the annotated event listener
  */
 public AnnotationEventListenerAdapter(Object annotatedEventListener) {
   this(
       annotatedEventListener,
       ClasspathParameterResolverFactory.forClass(annotatedEventListener.getClass()));
 }