|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Configuration<T>
Object passed into a service contributor method that allows the method provide contributed values to the service's configuration.
A service can collect contributions in three different ways:
Method Summary | |
---|---|
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. |
Method Detail |
---|
void add(T object)
object
- to add to the service's configurationvoid addInstance(Class<? extends T> clazz)
clazz
- what class to instantiate
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |