Top Classes
module spring.core

Package org.springframework.objenesis.instantiator.basic


Class Summary

Modifier and TypeClass and Description
public class
AccessibleInstantiator<T>

Instantiates a class by grabbing the no-args constructor, making it accessible and then calling Constructor.newInstance().

public class
ConstructorInstantiator<
Type instantiated
T
>

Instantiates a class by grabbing the no args constructor and calling Constructor.newInstance().

public abstract class
DelegatingToExoticInstantiator<
type of the class instantiated
T
>

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

public class
FailingInstantiator<T>

The instantiator that always throws an exception.

public class
NewInstanceInstantiator<T>

The simplest instantiator - simply calls Class.newInstance().

public class
NullInstantiator<T>

The instantiator that always return a null instance

public class
ObjectInputStreamInstantiator<T>

Instantiates a class by using a dummy input stream that always feeds data for an empty object of the same kind.

public class
ObjectStreamClassInstantiator<T>

Instantiates a class by using reflection to make a call to private method ObjectStreamClass.newInstance, present in many JVM implementations.

public class
ProxyingInstantiator<
type of the class instantiated
T
>

Shell keeping compatibility but delegating to objenesis-exotic which contains the real implementation.