|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.marshalling.reflect.ReflectiveCreator
org.jboss.marshalling.reflect.SunReflectiveCreator
public class SunReflectiveCreator
An object creator that uses methods only found in certain JVMs to create a new constructor if needed.
Constructor Summary | |
---|---|
SunReflectiveCreator()
|
Method Summary | ||
---|---|---|
protected
|
getNewConstructor(java.lang.Class<T> clazz)
Get the constructor to use for a class. |
Methods inherited from class org.jboss.marshalling.reflect.ReflectiveCreator |
---|
create, getCachedConstructor |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SunReflectiveCreator()
Method Detail |
---|
protected <T> java.lang.reflect.Constructor<T> getNewConstructor(java.lang.Class<T> clazz)
null
if no suitable constructor is available. This implementation will attempt to create a new constructor if one is not available.
getNewConstructor
in class ReflectiveCreator
clazz
- the class to get a constructor for
null
if none is available
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |