public interface Configuration<T>
Modifier and Type | Method and Description |
---|---|
void |
add(T object)
Adds an object to the service's contribution.
|
void |
addInstance(Class<? extends T> clazz)
Automatically instantiates an instance of the class, with dependencies injected, and adds it to the
configuration.
|
void add(T object)
object
- to add to the service's configurationvoid addInstance(Class<? extends T> clazz)
clazz
- what class to instantiate${project.version} - Copyright © 2003-2015 The Apache Software Foundation.