// TODO: This constructor for InterceptorMethodDescription needs a review. How does one get hold of the "declaraingClass"
// for a DD based interceptor configuration. Why not just specify the instance class and then "find" the correct method
// internally
InterceptorMethodDescription preDestroyInterceptor = new InterceptorMethodDescription(interceptor.getInterceptorClass(), interceptor.getInterceptorClass(), methodIdentifier, false);
// add it to the interceptor description
interceptorDescription.addPreDestroy(preDestroyInterceptor);
}
}
}
}