Author: pete.muir(a)jboss.org
Date: 2009-10-30 10:31:20 -0400 (Fri, 30 Oct 2009)
New Revision: 4449
Modified:
core/trunk/impl/src/main/java/org/jboss/weld/BeanManagerImpl.java
core/trunk/impl/src/main/java/org/jboss/weld/bean/AbstractClassBean.java
Log:
fix method name on BeanManager
Modified: core/trunk/impl/src/main/java/org/jboss/weld/BeanManagerImpl.java
===================================================================
--- core/trunk/impl/src/main/java/org/jboss/weld/BeanManagerImpl.java 2009-10-30 14:31:05
UTC (rev 4448)
+++ core/trunk/impl/src/main/java/org/jboss/weld/BeanManagerImpl.java 2009-10-30 14:31:20
UTC (rev 4449)
@@ -1059,7 +1059,7 @@
{
if (uniqueInterceptorBindings.contains(interceptorBinding.annotationType()))
throw new IllegalArgumentException("Duplicate interceptor binding type:
" + interceptorBinding.annotationType());
- if (!isInterceptorBindingType(interceptorBinding.annotationType()))
+ if (!isInterceptorBinding(interceptorBinding.annotationType()))
throw new IllegalArgumentException("Trying to resolve interceptors with
non-binding type: " + interceptorBinding.annotationType());
uniqueInterceptorBindings.add(interceptorBinding.annotationType());
}
@@ -1314,7 +1314,7 @@
return
getServices().get(MetaAnnotationStore.class).getBindingTypeModel(annotationType).isValid();
}
- public boolean isInterceptorBindingType(Class<? extends Annotation>
annotationType)
+ public boolean isInterceptorBinding(Class<? extends Annotation> annotationType)
{
return
getServices().get(MetaAnnotationStore.class).getInterceptorBindingModel(annotationType).isValid();
}
Modified: core/trunk/impl/src/main/java/org/jboss/weld/bean/AbstractClassBean.java
===================================================================
--- core/trunk/impl/src/main/java/org/jboss/weld/bean/AbstractClassBean.java 2009-10-30
14:31:05 UTC (rev 4448)
+++ core/trunk/impl/src/main/java/org/jboss/weld/bean/AbstractClassBean.java 2009-10-30
14:31:20 UTC (rev 4449)
@@ -399,7 +399,7 @@
Set<Annotation> foundInterceptionBindingTypes = new
HashSet<Annotation>();
for (Annotation annotation: annotations)
{
- if (manager.isInterceptorBindingType(annotation.annotationType()))
+ if (manager.isInterceptorBinding(annotation.annotationType()))
{
foundInterceptionBindingTypes.add(annotation);
foundInterceptionBindingTypes.addAll(manager.getServices().get(MetaAnnotationStore.class).getInterceptorBindingModel(annotation.annotationType()).getInheritedInterceptionBindingTypes());
Show replies by date