Package org.jboss.marshalling.reflect
Class SunReflectiveCreator
- java.lang.Object
-
- org.jboss.marshalling.reflect.ReflectiveCreator
-
- org.jboss.marshalling.reflect.SunReflectiveCreator
-
- All Implemented Interfaces:
Creator
@Deprecated public class SunReflectiveCreator extends ReflectiveCreator
Deprecated.This creator is no longer used and will be removed in a future version.An object creator that uses methods only found in certain JVMs to create a new constructor if needed.
-
-
Constructor Summary
Constructors Constructor Description SunReflectiveCreator()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected <T> Constructor<T>
getNewConstructor(Class<T> clazz)
Deprecated.Get the constructor to use for a class.-
Methods inherited from class org.jboss.marshalling.reflect.ReflectiveCreator
create
-
-
-
-
Method Detail
-
getNewConstructor
protected <T> Constructor<T> getNewConstructor(Class<T> clazz)
Deprecated.Get the constructor to use for a class. Returnsnull
if no suitable constructor is available. This implementation will attempt to create a new constructor if one is not available.- Overrides:
getNewConstructor
in classReflectiveCreator
- Parameters:
clazz
- the class to get a constructor for- Returns:
- the constructor, or
null
if none is available
-
-