Skip to content

Commit

Permalink
getBindingTypes() -> getBindings()
Browse files Browse the repository at this point in the history
git-svn-id: http://anonsvn.jboss.org/repos/weld/ri/trunk@899 1c488680-804c-0410-94cd-c6b725194a0e
  • Loading branch information
Gavin King authored and gavin.king@gmail.com committed Jan 12, 2009
1 parent 5271be6 commit b1b7e00
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 8 deletions.
Expand Up @@ -159,7 +159,7 @@ protected void initBindingTypes()
this.bindingTypes.addAll(getAnnotatedItem().getMetaAnnotations(BindingType.class));
if (specialization)
{
this.bindingTypes.addAll(getSpecializedType().getBindingTypes());
this.bindingTypes.addAll(getSpecializedType().getBindings());
log.trace("Using binding types " + bindingTypes + " specified by annotations and specialized supertype");
}
else if (bindingTypes.size() == 0)
Expand Down
Expand Up @@ -279,7 +279,7 @@ public String toString()
buffer.append("simple producer bean '" + getName() + "'");
}
buffer.append(" [" + getType().getName() + "]\n");
buffer.append(" API types " + getTypes() + ", binding types " + getBindingTypes() + "\n");
buffer.append(" API types " + getTypes() + ", binding types " + getBindings() + "\n");
return buffer.toString();
}

Expand Down
Expand Up @@ -413,7 +413,7 @@ public String toString()
buffer.append(" enterprise bean '" + getName() + "'");
}
buffer.append(" [" + getType().getName() + "]\n");
buffer.append(" API types " + getTypes() + ", binding types " + getBindingTypes() + "\n");
buffer.append(" API types " + getTypes() + ", binding types " + getBindings() + "\n");
return buffer.toString();
}

Expand Down
Expand Up @@ -172,7 +172,7 @@ public String toString()
buffer.append(" enterprise bean '" + getName() + "'");
}
buffer.append(" [" + getType().getName() + "]\n");
buffer.append(" API types " + getTypes() + ", binding types " + getBindingTypes() + "\n");
buffer.append(" API types " + getTypes() + ", binding types " + getBindings() + "\n");
return buffer.toString();
}

Expand Down
Expand Up @@ -125,7 +125,7 @@ public String toString()
buffer.append("simple producer field bean '" + getName() + "'");
}
buffer.append(" [" + getType().getName() + "]\n");
buffer.append(" API types " + getTypes() + ", binding types " + getBindingTypes() + "\n");
buffer.append(" API types " + getTypes() + ", binding types " + getBindings() + "\n");
return buffer.toString();
}

Expand Down
Expand Up @@ -138,7 +138,7 @@ else if (getAnnotatedItem().getAnnotatedParameters(Disposes.class).size() > 0)
*/
protected void initDisposalMethod()
{
Set<AnnotatedMethod<Object>> disposalMethods = manager.resolveDisposalMethods(getType(), getBindingTypes().toArray(new Annotation[0]));
Set<AnnotatedMethod<Object>> disposalMethods = manager.resolveDisposalMethods(getType(), getBindings().toArray(new Annotation[0]));
if (disposalMethods.size() == 1)
{
this.disposalMethod = disposalMethods.iterator().next();
Expand Down Expand Up @@ -201,7 +201,7 @@ public String toString()
buffer.append("simple producer method bean '" + getName() + "'");
}
buffer.append(" [" + getType().getName() + "]\n");
buffer.append(" API types " + getTypes() + ", binding types " + getBindingTypes() + "\n");
buffer.append(" API types " + getTypes() + ", binding types " + getBindings() + "\n");
return buffer.toString();
}

Expand Down
Expand Up @@ -489,7 +489,7 @@ public String toString()
buffer.append("simple bean '" + getName() + "'");
}
buffer.append(" [" + getType().getName() + "]\n");
buffer.append(" API types " + getTypes() + ", binding types " + getBindingTypes() + "\n");
buffer.append(" API types " + getTypes() + ", binding types " + getBindings() + "\n");
return buffer.toString();
}

Expand Down

0 comments on commit b1b7e00

Please sign in to comment.