public final class LifecycleHelper
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static void |
pipeline(java.lang.Object object,
Logger logger,
Context context,
Configuration config,
ServiceManager manager)
Processes a supplied object through a series of component lifecycle
phases based on the supplied parameters.
|
public static void pipeline(java.lang.Object object,
Logger logger,
Context context,
Configuration config,
ServiceManager manager)
throws java.lang.Exception
If the target object implements one of the above phases, and the
corresponding argument is null, the pipeline implementation will throw a
NullPointerException.
object - the object to apply lifecycle processing tologger - the logging channel to applycontext - the context to applyconfig - the configuration to applymanager - the service manager to applyjava.lang.Exception - if an error occurs dureing pipeline processing