@Deprecated public class ReflectiveCreator extends java.lang.Object implements Creator
Constructor and Description |
---|
ReflectiveCreator()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
<T> T |
create(java.lang.Class<T> clazz)
Deprecated.
Create an object instance.
|
protected <T> java.lang.reflect.Constructor<T> |
getNewConstructor(java.lang.Class<T> clazz)
Deprecated.
Get the constructor to use for a class.
|
protected <T> java.lang.reflect.Constructor<T> getNewConstructor(java.lang.Class<T> clazz)
null
if no suitable constructor is available.clazz
- the class to get a constructor fornull
if none is availablepublic <T> T create(java.lang.Class<T> clazz) throws java.io.InvalidClassException
Copyright © 2011 JBoss, a division of Red Hat, Inc.