JBoss Marshalling 1.3.0.GA

org.jboss.marshalling
Interface Creator

All Known Implementing Classes:
ExternalizedObject, PublicReflectiveCreator, ReflectiveCreator, SunReflectiveCreator

public interface Creator

An instance creator. Creates an uninitialized instance of a class.


Method Summary
<T> T
create(java.lang.Class<T> clazz)
          Create an object instance.
 

Method Detail

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

JBoss Marshalling 1.3.0.GA

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