Package org.apache.groovy.contracts.util
Class LifecycleImplementationLoader<S>
java.lang.Object
org.apache.groovy.contracts.util.LifecycleImplementationLoader<S>
- All Implemented Interfaces:
Iterable<S>
Finds and loads implementation classes of interface Lifecycle
.
-
Method Summary
Modifier and TypeMethodDescriptioniterator()
static <S> LifecycleImplementationLoader<S>
load
(Class<S> service, ClassLoader loader) Creates a newLifecycle
for the given type and class loader.void
reload()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator