org.apache.camel.spring.spi
Class SpringInjector

java.lang.Object
  extended by org.apache.camel.impl.ReflectionInjector
      extended by 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)
           
 
Method Summary
 int getAutowireMode()
           
 boolean isDependencyCheck()
           
 Object newInstance(Class type)
           
 void setAutowireMode(int autowireMode)
           
 void setDependencyCheck(boolean dependencyCheck)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpringInjector

public SpringInjector(org.springframework.context.support.AbstractRefreshableApplicationContext applicationContext)
Method Detail

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.