public abstract class ObjectValueFromSingletonAttribute extends Object implements ObjectValue
| Modifier and Type | Field and Description |
|---|---|
protected String |
attributeName |
| Constructor and Description |
|---|
ObjectValueFromSingletonAttribute(String attributeName)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
<T> T |
create(InjectionContext ctx,
Class<T> type,
Type genericType,
Annotation[] annotations)
Create the object based on the given context.
|
protected abstract Object |
getInstance(InjectionContext ctx) |
protected String attributeName
public ObjectValueFromSingletonAttribute(String attributeName)
protected abstract Object getInstance(InjectionContext ctx) throws InjectionException
InjectionExceptionpublic <T> T create(InjectionContext ctx, Class<T> type, Type genericType, Annotation[] annotations) throws InjectionException
ObjectValuecreate in interface ObjectValueInjectionExceptionCopyright © 2018. All rights reserved.