Package | Description |
---|---|
org.glassfish.jersey.internal |
Common Jersey internal API classes.
|
Modifier and Type | Method and Description |
---|---|
static <T> ServiceFinder<T> |
ServiceFinder.find(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(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(Class<T> service,
ClassLoader loader)
Locates and incrementally instantiates the available providers of a
given service using the given class loader.
|
static <T> ServiceFinder<T> |
ServiceFinder.find(Class<T> service,
ClassLoader loader,
boolean ignoreOnClassNotFound)
Locates and incrementally instantiates the available providers of a
given service using the given class loader.
|
static ServiceFinder<?> |
ServiceFinder.find(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.
|
Class<T>[] |
ServiceFinder.toClassArray()
Returns discovered classes all at once.
|
Copyright © 2007-2021, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.