org.exolab.castor.persist.spi
Interface InstanceFactory


public interface InstanceFactory

A callback interceptor delegates instance creation to the handler.

Version:
$Revision: 1.1.1.1 $ $Date: 2003/03/03 07:08:50 $
Author:
Alan Cabrera

Method Summary
 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

public java.lang.Object newInstance(java.lang.String className,
                                    java.lang.ClassLoader loader)
Called to indicate that an object needs to be instatiated.

Returns:
an instance of the object needs to be instatiated


Intalio Inc. (C) 1999-2004. All rights reserved http://www.intalio.com