java.lang.Object | |
↳ | org.eclipse.sisu.bean.BeanScheduler |
![]() |
Schedules safe activation of beans even when cyclic dependencies are involved.
Takes advantage of the new Guice ProvisionListener SPI, if available at runtime.
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
public static final Module | MODULE | Enables deferred activation of component cycles, only needed in legacy systems like Plexus. |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
BeanScheduler() |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
static void |
detectCycle(Object value)
Detects if a dependency cycle exists and activation needs to be deferred.
| ||||||||||
final void |
schedule(Object bean)
Schedules activation of the given bean at the next safe activation point.
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract void |
activate(Object bean)
Customized activation of the given bean.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Enables deferred activation of component cycles, only needed in legacy systems like Plexus.
Detects if a dependency cycle exists and activation needs to be deferred.
Schedules activation of the given bean at the next safe activation point.
bean | The managed bean |
---|
Customized activation of the given bean.
bean | The bean to activate |
---|