Skip to content

Instantly share code, notes, and snippets.

@tremes
Created May 27, 2016 10:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tremes/84c825a62cd3392c124814d036ee1239 to your computer and use it in GitHub Desktop.
Save tremes/84c825a62cd3392c124814d036ee1239 to your computer and use it in GitHub Desktop.
ObserverMethod<Pineapple> myObserverMethod = abd.<Pineapple> addObserverMethod().beanClass(FruitObserver.class)
.observedType(Pineapple.class)
.addQualifier(Delicious.DeliciousLiteral.INSTANCE)
.build();
abd.addObserverMethod(myObserverMethod);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment