Skip to content

Commit

Permalink
Resin Kernel: fixing issue with javax.enterprise.spi.inject and defau…
Browse files Browse the repository at this point in the history
…lt Java EE API 6.0
  • Loading branch information
Kdecherf committed Apr 2, 2011
1 parent e295212 commit 1eac737
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,7 @@ public void addStereotype(Class<? extends Annotation> stereotype,
}

@Override
public void addInterceptorBinding(Class<? extends Annotation> bindingType,
Annotation... bindings)
public void addInterceptorBinding(Class<? extends Annotation> bindingType)
{
}

Expand Down
14 changes: 0 additions & 14 deletions resin/src/main/java/com/caucho/config/inject/InjectManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -1564,20 +1564,6 @@ else if (beanSet.size() > 0) {
}
}
}

@Override
public <X> Bean<X> getMostSpecializedBean(Bean<X> bean)
{
throw new UnsupportedOperationException();
/*
Bean<?> special = _specializedMap.get(bean.getBeanClass());
if (special != null)
return (Bean<X>) special;
else
return bean;
*/
}

@Module
public boolean isSpecialized(Class<?> beanClass)
Expand Down

0 comments on commit 1eac737

Please sign in to comment.