org.apache.camel.guice.impl
Class GuiceInjector
java.lang.Object
org.apache.camel.guice.impl.GuiceInjector
- All Implemented Interfaces:
- org.apache.camel.spi.Injector
public class GuiceInjector
- extends Object
- implements org.apache.camel.spi.Injector
An injector which uses Guice to perform the dependency injection of types
- Version:
Constructor Summary |
GuiceInjector(com.google.inject.Injector injector)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GuiceInjector
public GuiceInjector(com.google.inject.Injector injector)
newInstance
public <T> T newInstance(Class<T> type)
- Specified by:
newInstance
in interface org.apache.camel.spi.Injector
newInstance
public <T> T newInstance(Class<T> type,
Object instance)
- Specified by:
newInstance
in interface org.apache.camel.spi.Injector
Apache Camel