| Type Params | Return Type | Name and description |
|---|---|---|
|
public Iterator<S> |
iterator()Returns an iterator over already loaded providers followed by lazily discovered providers. |
<S> |
public static LifecycleImplementationLoader<S> |
load(Class<S> service, ClassLoader loader)Creates a new Lifecycle for the given type and class loader. |
|
public void |
reload()Clears cached providers and restarts service discovery. |
Returns an iterator over already loaded providers followed by lazily discovered providers.
Creates a new Lifecycle for the given type and class loader.
service - the service type to loadloader - the class loader used to discover providersS - the service typeClears cached providers and restarts service discovery.