org.jboss.marshalling
Interface Creator
- All Known Implementing Classes:
- ExternalizedObject, ReflectiveCreator, SunReflectiveCreator
public interface Creator
An instance creator. Creates an uninitialized instance of a class.
Method Summary |
|
create(java.lang.Class<T> clazz)
Create an object instance. |
create
<T> T create(java.lang.Class<T> clazz)
throws java.io.InvalidClassException
- Create an object instance.
- Parameters:
clazz
- the type of object to create
- Returns:
- the object instance
- Throws:
java.io.InvalidClassException
- if an instance of the class could not be instantiated for some reason