public final class ClassServiceLoader extends Object
A simplified version of the ServiceLoader in the JDK. Does not lazy load stuff from the resources file, and it returns classes instead of instances to better jive with Guice.
Cache of loaded values uses soft references and timeouts to response to memory pressures. Likely, the services are only loaded on startup, so keeping the cache read to go for the entire application is wasteful.
|Constructor and Description|
|Modifier and Type||Method and Description|
Copyright © 2010-2016 Stardog Union. All Rights Reserved.