When spring-dm refresh a spring bundle, it use a DelegateNamespaceHandlerResolver composed of:
- a "local NamespaceHandlerResolver" that use the ClassLoader of the bundle to find the spring.handlers file;
- a "OSGI service NamespaceHandlerResolver" that use an osgi service to find the NamespaceHandler;
The purpose of MetaInfResourceClassLoaderDelegateHook is to propagate an attempt to get resource(s) from META-INF to the principle bundle's dependencies, but this is not done if the request is being driven through Spring DM's DelgatedNamespaceHandlerResolver as it would not be appropriate to get namespace handlers directly from a bundle's dependencies. This logic should not affect the behaviour of the local namespace handler resolver as that only depends on looking up resources in a bundle's own META-INF.