Package org.jboss.marshalling.reflect
Class ReflectiveCreator
- java.lang.Object
-
- org.jboss.marshalling.reflect.ReflectiveCreator
-
- All Implemented Interfaces:
Creator
- Direct Known Subclasses:
SunReflectiveCreator
@Deprecated public class ReflectiveCreator extends java.lang.Object implements Creator
Deprecated.This class is no longer used and will be removed in a future version.
-
-
Field Summary
Fields Modifier and Type Field Description private static java.security.Permission
CREATOR_PERM
Deprecated.private static SerializableClassRegistry
registry
Deprecated.
-
Constructor Summary
Constructors Constructor Description ReflectiveCreator()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description <T> T
create(java.lang.Class<T> clazz)
Deprecated.Create an object instance.protected <T> java.lang.reflect.Constructor<T>
getNewConstructor(java.lang.Class<T> clazz)
Deprecated.Get the constructor to use for a class.
-
-
-
Field Detail
-
CREATOR_PERM
private static final java.security.Permission CREATOR_PERM
Deprecated.
-
registry
private static final SerializableClassRegistry registry
Deprecated.
-
-
Method Detail
-
getNewConstructor
protected <T> java.lang.reflect.Constructor<T> getNewConstructor(java.lang.Class<T> clazz)
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
public <T> T create(java.lang.Class<T> clazz) throws java.io.InvalidClassException
Deprecated.Create an object instance.
-
-