org.apache.camel.spi
Interface Injector<T>
- All Known Implementing Classes:
- ReflectionInjector
public interface Injector<T>
A pluggable strategy for creating and possibly dependency injecting objects
which could be implemented using straight forward reflection or using Spring or Guice to perform dependency injection.
- Version:
- $Revision: 525537 $
Method Summary |
T |
newInstance(Class<T> type)
Instantiates a new instance of the given type possibly injecting values into the object in the process |
newInstance
T newInstance(Class<T> type)
- Instantiates a new instance of the given type possibly injecting values into the object in the process
- Parameters:
type
- the type of object to create
- Returns:
- a newly created instance
Copyright © 2007 Apache Software Foundation. All Rights Reserved.