if (bindings != null && bindings.size() > 0)
{
this.methodInterceptors = new HashMap<Signature, Interceptors>();
for (InterceptorBindingMetaData binding : bindings)
{
NamedMethodMetaData method = binding.getMethod();
// TODO: this is weird, it should have been caught earlier (invalid xml)
if(method.getMethodName() == null)
continue;
List<Method> methods = methodMap.get(method.getMethodName());
if (methods == null)
{
throw new IllegalStateException("Bean class " + beanClass.getName() + " does not have a method called '" + method.getMethodName() + "'. This method name was used in an interceptor-binding entry.");
}
for (Method refMethod : methods)
{
Signature signature = methodSignatures.getSignature(refMethod);