Top Description Fields Constructors Methods
org.springframework.objenesis.instantiator.basic

public abstract Class DelegatingToExoticInstantiator<T>

extends Object
implements ObjectInstantiator<T>
Class Inheritance
All Implemented Interfaces
org.springframework.objenesis.instantiator.ObjectInstantiator
Known Direct Subclasses
org.springframework.objenesis.instantiator.basic.ProxyingInstantiator, org.springframework.objenesis.instantiator.sun.MagicInstantiator
Type Parameters
<T>
type of the class instantiated
Imports
org.springframework.objenesis.ObjenesisException, org.springframework.objenesis.instantiator.ObjectInstantiator, java.lang.reflect.Constructor, .InvocationTargetException

Helper class extended by instantiators for which the implementation was moved to the exotic project.
Author
Henri Tremblay

Field Summary

Modifier and TypeField and Description
private final ObjectInstantiator<T>

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod and Description
private ObjectInstantiator<T>
instantiator(String className, Class<T> type, Constructor<ObjectInstantiator<T>> constructor)

private Class<ObjectInstantiator<T>>
private Constructor<ObjectInstantiator<T>>
public T
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

wrappedback to summary
private final ObjectInstantiator<T> wrapped

Constructor Detail

DelegatingToExoticInstantiatorback to summary
protected DelegatingToExoticInstantiator(String className, Class<T> type)

Method Detail

instantiatorback to summary
private ObjectInstantiator<T> instantiator(String className, Class<T> type, Constructor<ObjectInstantiator<T>> constructor)
instantiatorClassback to summary
private Class<ObjectInstantiator<T>> instantiatorClass(String className)
instantiatorConstructorback to summary
private Constructor<ObjectInstantiator<T>> instantiatorConstructor(String className, Class<ObjectInstantiator<T>> clazz)
newInstanceback to summary
public T newInstance()

Implements org.springframework.objenesis.instantiator.ObjectInstantiator.newInstance.

Doc from org.springframework.objenesis.instantiator.ObjectInstantiator.newInstance.

Returns a new instance of an object. The returned object's class is defined by the implementation.

Returns:T

A new instance of an object.

Annotations
@Override