C D E F G O P S

C

cache - Static variable in class org.freecompany.util.services.ServiceDiscovery
 
clean(String) - Static method in class org.freecompany.util.services.ServiceInfo
Utility method to remove comments from service descriptors.
createInstance(ClassLoader, String, Class<T>) - Static method in class org.freecompany.util.services.ServiceInfo
Attempts to create an instance of the named class using the provided class loader.

D

disableCaching() - Static method in class org.freecompany.util.services.ServiceDiscovery
Disables ServiceInfo caching within this helper.

E

enableCaching() - Static method in class org.freecompany.util.services.ServiceDiscovery
Enables ServiceInfo caching within this helper.

F

findService(Class<T>) - Method in class org.freecompany.util.services.ServiceInfo
Finds the first known implementation of the given service class (or interface) using the current class loader.
findService(ClassLoader, Class<T>) - Method in class org.freecompany.util.services.ServiceInfo
Finds the first known implementation of the given service class (or interface) using the provided class loader.
findServices(Class<T>) - Method in class org.freecompany.util.services.ServiceInfo
Finds all known implementations of the given service class using the current class loader.
findServices(ClassLoader, Class<T>) - Method in class org.freecompany.util.services.ServiceInfo
Finds all known implementations of the given service class using the provided class loader.

G

getInstance() - Static method in class org.freecompany.util.services.ServiceDiscovery
Returns a ServiceInfo instance that can access service providers specified as a system property or through the class path using the standard JAR services mechanism.
getInstance(String) - Static method in class org.freecompany.util.services.ServiceDiscovery
Returns a ServiceInfo instance that can access service providers set as a system wide preference, specified as a system property, or through the class path using the standard JAR services mechanism.
getSystem() - Method in class org.freecompany.util.services.ServiceInfo
Gets the system name, used to find system wide service properties.

O

org.freecompany.util.services - package org.freecompany.util.services
The discovery mechanism allows Java source code to discover and utilize interchangeable service provider implementations.

P

properties - Variable in class org.freecompany.util.services.ServiceInfo
 

S

searchClassPath(ClassLoader, Class<T>) - Static method in class org.freecompany.util.services.ServiceInfo
Finds all service descriptors that contain an implementation of the given service.
ServiceDiscovery - Class in org.freecompany.util.services
The discovery class provides factory methods for creating instances of service information objects and a caching mechanism.
ServiceDiscovery() - Constructor for class org.freecompany.util.services.ServiceDiscovery
 
ServiceInfo - Class in org.freecompany.util.services
A service information object provides an interface that can be used to query for provider instances defined in system properties, system wide JVM settings, or service descriptors in the class path.
ServiceInfo() - Constructor for class org.freecompany.util.services.ServiceInfo
Constructs a service information object without an associated system identifier.
ServiceInfo(String) - Constructor for class org.freecompany.util.services.ServiceInfo
Constructs a service information object with the given system identifier.
system - Variable in class org.freecompany.util.services.ServiceInfo
 

C D E F G O P S