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.PermissionCREATOR_PERMDeprecated.private static SerializableClassRegistryregistryDeprecated.
-
Constructor Summary
Constructors Constructor Description ReflectiveCreator()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description <T> Tcreate(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. Returnsnullif no suitable constructor is available.- Parameters:
clazz- the class to get a constructor for- Returns:
- the constructor, or
nullif none is available
-
create
public <T> T create(java.lang.Class<T> clazz) throws java.io.InvalidClassExceptionDeprecated.Create an object instance.
-
-