Marshalling API version 1.0.0.GA

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
<T> T
create(Class<T> clazz)
          Create an object instance.
 

Method Detail

create

<T> T create(Class<T> clazz)
         throws InvalidClassException
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

Marshalling API version 1.0.0.GA

Copyright © 2008 JBoss, a division of Red Hat, Inc.