| java.lang.Object | |
| ↳ | org.eclipse.sisu.bean.BeanScheduler |
Known Direct Subclasses
|
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 | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
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 |
|---|