public class ObjectValueClass extends Object implements ObjectValue
| Constructor and Description |
|---|
ObjectValueClass(Class<?> clazz,
List<ObjectValue> ctorParameters,
List<ObjectAttribute> attributes)
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.
|
public ObjectValueClass(Class<?> clazz, List<ObjectValue> ctorParameters, List<ObjectAttribute> attributes)
clazz - the class to instantiatectorParameters - parameters of the constructorattributes - attributes to injectpublic <T> T create(InjectionContext ctx, Class<T> type, Type genericType, Annotation[] annotations) throws InjectionException
ObjectValuecreate in interface ObjectValueInjectionExceptionCopyright © 2018. All rights reserved.