Package | Description |
---|---|
com.sun.jersey.spi.service |
Provides support for services obtained using META-INF/services.
|
Modifier and Type | Method and Description |
---|---|
static <T> ServiceFinder<T> |
ServiceFinder.find(java.lang.Class<T> service)
Locates and incrementally instantiates the available providers of a
given service using the context class loader.
|
static <T> ServiceFinder<T> |
ServiceFinder.find(java.lang.Class<T> service,
boolean ignoreOnClassNotFound)
Locates and incrementally instantiates the available providers of a
given service using the context class loader.
|
static <T> ServiceFinder<T> |
ServiceFinder.find(java.lang.Class<T> service,
java.lang.ClassLoader loader)
Locates and incrementally instantiates the available providers of a
given service using the given class loader.
|
static <T> ServiceFinder<T> |
ServiceFinder.find(java.lang.Class<T> service,
java.lang.ClassLoader loader,
boolean ignoreOnClassNotFound)
Locates and incrementally instantiates the available providers of a
given service using the given class loader.
|
static ServiceFinder<?> |
ServiceFinder.find(java.lang.String serviceName)
Locates and incrementally instantiates the available classes of a given
service file using the context class loader.
|
T[] |
ServiceFinder.toArray()
Returns discovered objects all at once.
|
java.lang.Class<T>[] |
ServiceFinder.toClassArray()
Returns discovered classes all at once.
|
Copyright © 2016 Oracle Corporation. All Rights Reserved.