org.exolab.castor.persist.spi
Interface InstanceFactory
public interface InstanceFactory
A callback interceptor delegates instance creation to the handler.
- Version:
- $Revision: 8994 $ $Date: 2011-08-02 01:40:59 +0200 (Di, 02 Aug 2011) $
- Author:
- Alan Cabrera
newInstance
Object newInstance(String className,
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
Copyright © 2012. All Rights Reserved.