@Instantiator(value=STANDARD) public class MagicInstantiator<T> extends java.lang.Object implements ObjectInstantiator<T>
MagicAccessorImpl which prevents
its children to be verified by the class loader| Constructor and Description |
|---|
MagicInstantiator(java.lang.Class<T> type) |
| Modifier and Type | Method and Description |
|---|---|
ObjectInstantiator<T> |
getInstantiator()
Get the underlying instantiator.
|
T |
newInstance()
Returns a new instance of an object.
|
public MagicInstantiator(java.lang.Class<T> type)
public ObjectInstantiator<T> getInstantiator()
MagicInstantiator is a wrapper around another object
which implements ObjectInstantiator interface.
This method exposes that instantiator.public T newInstance()
ObjectInstantiatornewInstance in interface ObjectInstantiator<T>