DependencyGraphLifecycleObjectSorterinstead@Deprecated public class SpringLifecycleObjectSorter extends DefaultLifecycleObjectSorter
DefaultLifecycleObjectSorter which uses an AbstractSpringRegistry to not only consider the
provided objects but the beans on which that object depends on. This is accomplished by introspecting the
BeanDefinition that was derived from the Inject annotationsorderedLifecycleTypes| Constructor and Description |
|---|
SpringLifecycleObjectSorter(Class<?>[] orderedLifecycleTypes,
AbstractSpringRegistry registry)
Deprecated.
Creates a new instance
|
| Modifier and Type | Method and Description |
|---|---|
protected int |
doAddObject(String name,
Object object,
List<Object> bucket)
Deprecated.
Adds all the dependencies of the given
object first, and the actual object last |
addObject, getSortedObjectsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetLifeCycleObjectNameOrderpublic SpringLifecycleObjectSorter(Class<?>[] orderedLifecycleTypes, AbstractSpringRegistry registry)
orderedLifecycleTypes - an ordered array specifying a type based orderregistry - an AbstractSpringRegistryprotected int doAddObject(String name, Object object, List<Object> bucket)
object first, and the actual object last doAddObject in class DefaultLifecycleObjectSorterCopyright © 2003–2022 MuleSoft, Inc.. All rights reserved.