Package org.jboss.marshalling.reflect
Class PublicReflectiveCreator
java.lang.Object
org.jboss.marshalling.reflect.PublicReflectiveCreator
- All Implemented Interfaces:
Creator
Deprecated.
A creator that simply uses reflection to locate and invoke a public, zero-argument constructor.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
reflectiveCreator
Deprecated.
-
-
Constructor Details
-
PublicReflectiveCreator
public PublicReflectiveCreator()Deprecated.
-
-
Method Details
-
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
-
ReflectiveCreator
.