public interface Factory
InjectForRequestInjector
.Modifier and Type | Method and Description |
---|---|
<T> T |
getObject(String name,
Class<T> type)
Return an object with the type specified.
|
<T> T getObject(String name, Class<T> type)
T
- the type of the object to returnname
- the name used to identify the variant of the class
to be returned. If no name is specified, then the
class name of the type specified is assumed.type
- the type of the oblject to returnCopyright © 2010–2017. All rights reserved.