|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.exolab.castor.util.DefaultObjectFactory
public class DefaultObjectFactory
The default implementation of ObjectFactory used for creating class instances
ObjectFactory| Constructor Summary | |
|---|---|
DefaultObjectFactory()
|
|
| Method Summary | |
|---|---|
java.lang.Object |
createInstance(java.lang.Class type)
Creates a default instance of the given class. |
java.lang.Object |
createInstance(java.lang.Class type,
java.lang.Class[] argTypes,
java.lang.Object[] args)
Creates a default instance of the given class. |
java.lang.Object |
createInstance(java.lang.Class type,
java.lang.Object[] args)
Creates a default instance of the given class. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultObjectFactory()
| Method Detail |
|---|
public java.lang.Object createInstance(java.lang.Class type)
throws java.lang.IllegalAccessException,
java.lang.InstantiationException
createInstance in interface ObjectFactorytype - the Class to create an instance of
java.lang.IllegalAccessException
java.lang.InstantiationException
public java.lang.Object createInstance(java.lang.Class type,
java.lang.Object[] args)
throws java.lang.IllegalAccessException,
java.lang.InstantiationException
createInstance in interface ObjectFactorytype - the Class to create an instance ofargs - the array of arguments to pass to the Class constructor
java.lang.IllegalAccessException
java.lang.InstantiationException
public java.lang.Object createInstance(java.lang.Class type,
java.lang.Class[] argTypes,
java.lang.Object[] args)
throws java.lang.IllegalAccessException,
java.lang.InstantiationException
createInstance in interface ObjectFactorytype - the Class to create an instance ofargTypes - the Class types for each argument, used
to find the correct constructorargs - the array of arguments to pass to the Class constructor
java.lang.IllegalAccessException
java.lang.InstantiationException
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||