public interface Container
| Modifier and Type | Method and Description |
|---|---|
<T> boolean |
canProvide(java.lang.Class<T> type)
Verifies if this container can provide an instance for
the given class.
|
<T> T |
instanceFor(java.lang.Class<T> type)
Retrieves the appropriate instance for the given class.
|
<T> T instanceFor(java.lang.Class<T> type)
T - type - of the required component<T> boolean canProvide(java.lang.Class<T> type)
T - type - of the required componentCopyright © 2013 Caelum. All Rights Reserved.