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.
-
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
-
Constructor Details
-
SunReflectiveCreator
public SunReflectiveCreator()Deprecated.
-
-
Method Details
-
getNewConstructor
Deprecated.Get the constructor to use for a class. Returnsnullif no suitable constructor is available. This implementation will attempt to create a new constructor if one is not available.- Overrides:
getNewConstructorin classReflectiveCreator- Parameters:
clazz- the class to get a constructor for- Returns:
- the constructor, or
nullif none is available
-