Package org.jboss.marshalling
Interface Creator
-
- All Known Implementing Classes:
PublicReflectiveCreator
,ReflectiveCreator
,SunReflectiveCreator
@Deprecated public interface Creator
Deprecated.This API is deprecated and will be removed in a future version.An instance creator. Creates an uninitialized instance of a class.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description <T> T
create(Class<T> clazz)
Deprecated.Create an object instance.
-
-
-
Method Detail
-
create
<T> T create(Class<T> clazz) throws InvalidClassException
Deprecated.Create an object instance.- 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
-
-