public class RegistryLifecycleCallback<T> extends Object implements LifecycleCallback<T>, HasLifecycleInterceptor
LifecycleCallback
for applying Registry
lifecyclesModifier 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 MuleException
onTransition
in interface LifecycleCallback<T>
MuleException
protected Collection<?> lookupObjectsForLifecycle(LifecycleObject lo)
public void setLifecycleInterceptor(LifecycleInterceptor interceptor)
HasLifecycleInterceptor
interceptor
setLifecycleInterceptor
in interface HasLifecycleInterceptor
interceptor
- a LifecycleInterceptor
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.