Skip to content

Use the current Thread's classLoader for ClientFactories and KeyStrategies#1

Open
jonspalmer wants to merge 1 commit intokcarlson:masterfrom
jonspalmer:betterClassLoading
Open

Use the current Thread's classLoader for ClientFactories and KeyStrategies#1
jonspalmer wants to merge 1 commit intokcarlson:masterfrom
jonspalmer:betterClassLoading

Conversation

@jonspalmer
Copy link

I have a situation where I want to be able to provide an implementation of the ClientFactory. Class.forName doesn't support this situation well as it won't resolve classes external to this project (such as classes in a Grails project). Simply switching the currentThread's class loader makes this extension point considerably more useful.

…and KeyStrategies can be provided externally.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant