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.
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.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected <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
-
Field Details
-
registry
Deprecated.
-
-
Constructor Details
-
SunReflectiveCreator
public SunReflectiveCreator()Deprecated.
-
-
Method Details
-
getNewConstructor
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
-