org.apache.camel.spring.spi
Class SpringInjector
java.lang.Object
org.apache.camel.impl.ReflectionInjector
org.apache.camel.spring.spi.SpringInjector
- All Implemented Interfaces:
- org.apache.camel.spi.Injector
public class SpringInjector
- extends org.apache.camel.impl.ReflectionInjector
A Spring implementation of Injector
allowing Spring to be used to dependency inject newly created POJOs
- Version:
- $Revision: 530384 $
Constructor Summary |
SpringInjector(org.springframework.context.support.AbstractRefreshableApplicationContext applicationContext)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SpringInjector
public SpringInjector(org.springframework.context.support.AbstractRefreshableApplicationContext applicationContext)
newInstance
public Object newInstance(Class type)
- Specified by:
newInstance
in interface org.apache.camel.spi.Injector
- Overrides:
newInstance
in class org.apache.camel.impl.ReflectionInjector
getAutowireMode
public int getAutowireMode()
setAutowireMode
public void setAutowireMode(int autowireMode)
isDependencyCheck
public boolean isDependencyCheck()
setDependencyCheck
public void setDependencyCheck(boolean dependencyCheck)
Copyright © 2007 Apache Software Foundation. All Rights Reserved.