public class ContextInjector extends Object
Context to Objects, which implement the ActiveContextSensitive
 interface and the application Context to Objects, which implement the ApplicationContextSensitive
 interface.
 TODO: Replace with CDI?| Constructor and Description | 
|---|
ContextInjector(ActiveContextProvider activeContextProvider,
               ApplicationContextProvider applicationContextProvider)
Creates a new instance of this class. 
 | 
ContextInjector(ContextManager contextManager)
Creates a new instance of this class. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
inject(Object target)
Injects the active  
Context to Objects, which implement the     * ActiveContextSensitive interface and the application Context to Objects, which implement the
 ApplicationContextSensitive interface. | 
public ContextInjector(ActiveContextProvider activeContextProvider, ApplicationContextProvider applicationContextProvider)
activeContextProvider - a provider, which provides the active contextapplicationContextProvider - a provider, which provides the application contextpublic ContextInjector(ContextManager contextManager)
contextManager - a ContextManagerpublic void inject(Object target)
Context to Objects, which implement the     * ActiveContextSensitive interface and the application Context to Objects, which implement the
 ApplicationContextSensitive interface.target - the target ObjectCopyright © 2012–2016 Drombler. All rights reserved.