org.apache.derby.iapi.services.loader
Interface InstanceGetter

All Known Implementing Classes:
ClassInfo, FormatableInstanceGetter

public interface InstanceGetter


Method Summary
 java.lang.Object getNewInstance()
          Create an instance of a class.
 

Method Detail

getNewInstance

public java.lang.Object getNewInstance()
                                throws java.lang.InstantiationException,
                                       java.lang.IllegalAccessException,
                                       java.lang.reflect.InvocationTargetException
Create an instance of a class.

Throws:
java.lang.InstantiationException - Zero arg constructor can not be executed
java.lang.IllegalAccessException - Class or zero arg constructor is not public.
java.lang.reflect.InvocationTargetException - Exception throw in zero-arg constructor.


Apache Derby V10.0 Engine Documentation - Copyright © 1997,2004 The Apache Software Foundation or its licensors, as applicable.