Skip to content

Commit

Permalink
CDITCK-573 Fix BeanConfigurator providing an insufficient information…
Browse files Browse the repository at this point in the history
… for bean creation.
  • Loading branch information
manovotn committed May 18, 2017
1 parent 4e5f295 commit 0c3f1e4
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,7 @@ private void configureBogey(BeanManager bm, BeanConfigurator<Bogey> bogey){
bogey.beanClass(Bogey.class);
bogey.addType(Bogey.class);
bogey.addQualifier(Undead.UndeadLiteral.INSTANCE);
bogey.produceWith(obj -> new Bogey());
}

private void configureWerewolf(BeanManager bm, BeanConfigurator<Werewolf> werewolf){
Expand All @@ -174,6 +175,7 @@ private void configureWerewolf(BeanManager bm, BeanConfigurator<Werewolf> werewo
Set<Class<? extends Annotation>> stereotypes = new HashSet<>();
stereotypes.add(Model.class);
werewolf.stereotypes(stereotypes);
werewolf.produceWith(obj -> new Werewolf());
}

void processSkeletonBean(@Observes ProcessSyntheticBean<Skeleton> event) {
Expand Down

0 comments on commit 0c3f1e4

Please sign in to comment.