org.jboss.marshalling
Interface Creator
- All Known Implementing Classes:
- ReflectiveCreator, SunReflectiveCreator
public interface Creator
An instance creator. Creates an uninitialized instance of a class.
Method Summary |
|
create(Class<T> clazz)
Create an object instance. |
create
<T> T create(Class<T> clazz)
throws InstantiationException,
IllegalAccessException
- Create an object instance.
- Parameters:
clazz
- the type of object to create
- Returns:
- the object instance
- Throws:
InstantiationException
- if the object could not be instantiated
IllegalAccessException
- if there was an access violation
Copyright © 2008 JBoss, a division of Red Hat, Inc.