Top Description Fields Constructors Methods
org.jboss.marshalling.reflect

public Class PublicReflectiveCreator

extends Object
implements Creator
Class Inheritance
All Implemented Interfaces
org.jboss.marshalling.Creator
Annotations
@Deprecated
Imports
java.io.InvalidClassException, org.jboss.marshalling.Creator

Deprecated

this class simply delegates to ReflectiveCreator.

A creator that simply uses reflection to locate and invoke a public, zero-argument constructor.

Field Summary

Modifier and TypeField and Description
private final ReflectiveCreator
reflectiveCreator

Deprecated as a consequence of ReflectiveCreator being deprecated.

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public <T> T
create(final Class<T>
the type of object to create
clazz
)

Implements org.jboss.marshalling.Creator.create.

Create an object instance.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

reflectiveCreatorback to summary
private final ReflectiveCreator reflectiveCreator

Deprecated

as a consequence of ReflectiveCreator being deprecated. See corresponding docs for further information.

Constructor Detail

PublicReflectiveCreatorback to summary
public PublicReflectiveCreator()

Method Detail

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

Implements org.jboss.marshalling.Creator.create.

Doc from org.jboss.marshalling.Creator.create.

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