public class RegistryLifecycleCallback<T> extends Object implements LifecycleCallback<T>, HasLifecycleInterceptor
LifecycleCallback for applying Registry lifecycles| Modifier and Type | Field and Description |
|---|---|
protected RegistryLifecycleManager |
registryLifecycleManager |
| Constructor and Description |
|---|
RegistryLifecycleCallback(RegistryLifecycleManager registryLifecycleManager) |
| Modifier and Type | Method and Description |
|---|---|
protected Collection<?> |
lookupObjectsForLifecycle(LifecycleObject lo) |
void |
onTransition(String phaseName,
T object) |
void |
setLifecycleInterceptor(LifecycleInterceptor interceptor)
Sets the given
interceptor |
protected final RegistryLifecycleManager registryLifecycleManager
public RegistryLifecycleCallback(RegistryLifecycleManager registryLifecycleManager)
public void onTransition(String phaseName, T object) throws org.mule.runtime.api.exception.MuleException
onTransition in interface LifecycleCallback<T>org.mule.runtime.api.exception.MuleExceptionprotected Collection<?> lookupObjectsForLifecycle(LifecycleObject lo)
public void setLifecycleInterceptor(LifecycleInterceptor interceptor)
HasLifecycleInterceptorinterceptorsetLifecycleInterceptor in interface HasLifecycleInterceptorinterceptor - a LifecycleInterceptorCopyright © 2003–2017 MuleSoft, Inc.. All rights reserved.