org.exolab.castor.persist.spi
public interface InstanceFactory
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
newInstance(java.lang.String className,
java.lang.ClassLoader loader)
Called to indicate that an object needs to be instatiated.
|
java.lang.Object newInstance(java.lang.String className, java.lang.ClassLoader loader)
className
- The name of the class of the object to be createdloader
- The class loader to use when creating the objectIntalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com