Package org.exolab.castor.persist.spi
Interface InstanceFactory
-
public interface InstanceFactory
A callback interceptor delegates instance creation to the handler.- Version:
- $Revision: 7091 $ $Date: 2005-03-05 06:42:06 -0700 (Sat, 05 Mar 2005) $
- Author:
- Alan Cabrera
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Object
newInstance(java.lang.String className, java.lang.ClassLoader loader)
Called to indicate that an object needs to be instatiated.
-
-
-
Method Detail
-
newInstance
java.lang.Object newInstance(java.lang.String className, java.lang.ClassLoader loader)
Called to indicate that an object needs to be instatiated.- Parameters:
className
- The name of the class of the object to be createdloader
- The class loader to use when creating the object- Returns:
- an instance of the object needs to be instatiated
-
-