| Modifier and Type | Field and Description |
|---|---|
protected String |
id |
protected Class<?> |
type |
| Constructor and Description |
|---|
ObjectProvider(Class<?> type,
String id)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getId() |
Class<?> |
getType() |
abstract Object |
provide(InjectionContext ctx)
Provide an object for injection in the given context.
|
public abstract Object provide(InjectionContext ctx) throws InjectionException
InjectionExceptionpublic Class<?> getType()
public String getId()
Copyright © 2018. All rights reserved.