public static void addWebServiceContextInjections(Holder holder, ClassFinder finder) {
List<Field> fields = finder.findAnnotatedFields(Resource.class);
for (Field field : fields) {
Resource resource = (Resource) field.getAnnotation(Resource.class);
Class type = getInjectionType(resource.type(), null, field);
if (WebServiceContext.class == type) {
holder.addInjection(field.getDeclaringClass().getName(),
new Injection(field.getDeclaringClass().getName(), getInjectionName(null, field), ABSOLUTE_JNDI_NAME));
}
}