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

public Class SunReflectiveCreator

extends ReflectiveCreator
Class Inheritance
Annotations
@Deprecated
Imports
java.lang.reflect.Constructor

Deprecated

This creator is no longer used and will be removed in a future version.

An object creator that uses methods only found in certain JVMs to create a new constructor if needed.

Field Summary

Modifier and TypeField and Description
private static SerializableClassRegistry

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected <T> Constructor<T>
getNewConstructor(final Class<T>
the class to get a constructor for
clazz
)

Overrides org.jboss.marshalling.reflect.ReflectiveCreator.getNewConstructor.

Get the constructor to use for a class.
Inherited from org.jboss.marshalling.reflect.ReflectiveCreator:
create

Field Detail

registryback to summary
private static SerializableClassRegistry registry

Hides org.jboss.marshalling.reflect.ReflectiveCreator.registry.

Constructor Detail

SunReflectiveCreatorback to summary
public SunReflectiveCreator()

Method Detail

getNewConstructorback to summary
protected <T> Constructor<T> getNewConstructor(final Class<T> clazz)

Overrides org.jboss.marshalling.reflect.ReflectiveCreator.getNewConstructor.

Doc from org.jboss.marshalling.reflect.ReflectiveCreator.getNewConstructor.

Get the constructor to use for a class. Returns null if no suitable constructor is available. This implementation will attempt to create a new constructor if one is not available.

Parameters
clazz:Class<T>

the class to get a constructor for

Returns:Constructor<T>

the constructor, or null if none is available