public interface InstanceFactory
Modifier and Type | Method and Description |
---|---|
Object |
newInstance(String className,
ClassLoader loader)
Called to indicate that an object needs to be instatiated.
|
Object newInstance(String className, ClassLoader loader)
className
- The name of the class of the object to be createdloader
- The class loader to use when creating the objectCopyright © 2016. All rights reserved.