public class SpringInjector extends Object implements org.apache.camel.spi.Injector
Injector allowing Spring to be used to dependency inject newly created POJOs| Constructor and Description | 
|---|
| SpringInjector(org.springframework.context.ConfigurableApplicationContext applicationContext) | 
| Modifier and Type | Method and Description | 
|---|---|
| org.springframework.context.ConfigurableApplicationContext | getApplicationContext() | 
| int | getAutowireMode() | 
| boolean | isDependencyCheck() | 
| <T> T | newInstance(Class<T> type) | 
| <T> T | newInstance(Class<T> type,
           Object instance) | 
| void | setAutowireMode(int autowireMode) | 
| void | setDependencyCheck(boolean dependencyCheck) | 
| boolean | supportsAutoWiring() | 
public SpringInjector(org.springframework.context.ConfigurableApplicationContext applicationContext)
public <T> T newInstance(Class<T> type)
newInstance in interface org.apache.camel.spi.Injectorpublic <T> T newInstance(Class<T> type, Object instance)
newInstance in interface org.apache.camel.spi.Injectorpublic boolean supportsAutoWiring()
supportsAutoWiring in interface org.apache.camel.spi.Injectorpublic int getAutowireMode()
public void setAutowireMode(int autowireMode)
public boolean isDependencyCheck()
public void setDependencyCheck(boolean dependencyCheck)
public org.springframework.context.ConfigurableApplicationContext getApplicationContext()
Apache Camel