public class GuiceInjector extends Object implements org.apache.camel.spi.Injector
Constructor and Description |
---|
GuiceInjector(com.google.inject.Injector injector) |
Modifier and Type | Method and Description |
---|---|
<T> T |
newInstance(Class<T> type) |
<T> T |
newInstance(Class<T> type,
Object instance) |
boolean |
supportsAutoWiring() |
public <T> T newInstance(Class<T> type)
newInstance
in interface org.apache.camel.spi.Injector
public <T> T newInstance(Class<T> type, Object instance)
newInstance
in interface org.apache.camel.spi.Injector
public boolean supportsAutoWiring()
supportsAutoWiring
in interface org.apache.camel.spi.Injector
Apache Camel