DependencyGraphLifecycleObjectSorterinstead@Deprecated public class SpringLifecycleObjectSorter extends DefaultLifecycleObjectSorter
DefaultLifecycleObjectSorter which uses a SpringRegistry 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,
SpringRegistry 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, SpringRegistry registry)
orderedLifecycleTypes - an ordered array specifying a type based orderregistry - a SpringRegistryprotected int doAddObject(String name, Object object, List<Object> bucket)
object first, and the actual object last doAddObject in class DefaultLifecycleObjectSorterCopyright © 2003–2025 MuleSoft, Inc.. All rights reserved.