public abstract class BeanScheduler extends Object
Modifier and Type | Field and Description |
---|---|
static com.google.inject.Module |
MODULE
Enables deferred activation of component cycles, only needed in legacy systems like Plexus.
|
Constructor and Description |
---|
BeanScheduler() |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
activate(Object bean)
Customized activation of the given bean.
|
static void |
detectCycle(Object value)
Detects if a dependency cycle exists and activation needs to be deferred.
|
void |
schedule(Object bean)
Schedules activation of the given bean at the next safe activation point.
|
public static final com.google.inject.Module MODULE
public static void detectCycle(Object value)
public final void schedule(Object bean)
bean
- The managed beanprotected abstract void activate(Object bean)
bean
- The bean to activateCopyright © 2024. All rights reserved.