public interface IDIContext
| Modifier and Type | Method and Description |
|---|---|
org.symphonyoss.s2.fugue.di.DIContextState |
getLifeCycle()
Get the current lifeCycle state.
|
void |
join()
Wait for the context to become stopped.
|
IDIContext |
register(IComponent component)
Register the given component in the context.
|
void |
resolve()
Resolve all components.
|
boolean |
resolveAdditionalComponent(IComponent component)
Resolve an additional component.
|
void |
resolveAndStart()
Resolve all components and start.
|
void |
start()
Start all components.
|
void |
stop()
Stop the context.
|
void |
waitForLifeCycle(org.symphonyoss.s2.fugue.di.DIContextState lifeCycle)
Wait for the specified lifeCycle state to be reached.
|
void stop()
IDIContext register(IComponent component)
component - A component.void resolveAndStart()
void resolve()
void start()
org.symphonyoss.s2.fugue.di.DIContextState getLifeCycle()
void waitForLifeCycle(org.symphonyoss.s2.fugue.di.DIContextState lifeCycle)
throws InterruptedException
lifeCycle - The state to wait for.InterruptedException - If the call is interrupted.void join() throws InterruptedException
InterruptedException - If the call is interrupted.boolean resolveAdditionalComponent(IComponent component)
component - A component to be resolved.Copyright © 2018 Symphony Software Foundation. All rights reserved.