-
Notifications
You must be signed in to change notification settings - Fork 41.7k
Closed
Description
Is there a reason that JksSslStoreBundle creates a new instance of ApplicationResourceLoader instead of using an existing DefaultResourceLoader?
Resource resource = new ApplicationResourceLoader().getResource(location);
Creating a new ApplicationResourceLoader instance means that for example S3ProtocolResolver from Spring Cloud AWS that works by registering itself using ResourceLoaderAware is ignored and only those declared in spring.factories get picked.
I know there are a few ways to work around this, but it's not that obvious that not all ProtocolResolvers work when declaring a bundle.
Metadata
Metadata
Assignees
Labels
type: enhancementA general enhancementA general enhancement