Package org.jboss.marshalling.reflect
Class ReflectiveCreator
java.lang.Object
org.jboss.marshalling.reflect.ReflectiveCreator
- All Implemented Interfaces:
Creator
- Direct Known Subclasses:
SunReflectiveCreator
Deprecated.
This class is no longer used and will be removed in a future version.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Permission
Deprecated.private static final SerializableClassRegistry
Deprecated. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T> T
Deprecated.Create an object instance.protected <T> Constructor<T>
getNewConstructor
(Class<T> clazz) Deprecated.Get the constructor to use for a class.
-
Field Details
-
CREATOR_PERM
Deprecated. -
registry
Deprecated.
-
-
Constructor Details
-
ReflectiveCreator
public ReflectiveCreator()Deprecated.
-
-
Method Details
-
getNewConstructor
Deprecated.Get the constructor to use for a class. Returnsnull
if no suitable constructor is available.- Parameters:
clazz
- the class to get a constructor for- Returns:
- the constructor, or
null
if none is available
-
create
Deprecated.Create an object instance.- Specified by:
create
in interfaceCreator
- Parameters:
clazz
- the type of object to create- Returns:
- the object instance
- Throws:
InvalidClassException
- if an instance of the class could not be instantiated for some reason
-