@ApplicationScoped public class ReflectionInstanceCreator extends java.lang.Object implements InstanceCreator
InstanceCreator
.Constructor and Description |
---|
ReflectionInstanceCreator() |
Modifier and Type | Method and Description |
---|---|
<T> T |
instanceFor(java.lang.Class<T> clazz)
Creates an instance for a class.
|
public <T> T instanceFor(java.lang.Class<T> clazz)
InstanceCreator
instanceFor
in interface InstanceCreator
clazz
- The instance class.Copyright © 2013 Caelum. All Rights Reserved.