Top Description Methods
org.jboss.marshalling

public Interface Creator

Known Direct Implementers
org.jboss.marshalling.reflect.PublicReflectiveCreator, org.jboss.marshalling.reflect.ReflectiveCreator
Annotations
@Deprecated
Imports
java.io.InvalidClassException

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

Modifier and TypeMethod and Description
public <T> T

Returns:

the object instance
create
(Class<T>
the type of object to create
clazz
)

Create an object instance.

Method Detail

createback to summary
public <T> T create(Class<T> clazz) throws InvalidClassException

Create an object instance.

Parameters
clazz:Class<T>

the type of object to create

Returns:T

the object instance

Exceptions
InvalidClassException:
if an instance of the class could not be instantiated for some reason