Public Member Functions | |
| Object | createInstance (Class type) throws IllegalAccessException, InstantiationException |
| Object | createInstance (Class type, Object[] args) throws IllegalAccessException, InstantiationException |
| Object | createInstance (Class type, Class[] argTypes, Object[] args) throws IllegalAccessException, InstantiationException |
The default implementation of ObjectFactory used for creating class instances
| Object org.exolab.castor.util.DefaultObjectFactory.createInstance | ( | Class | type | ) | throws IllegalAccessException, InstantiationException |
Creates a default instance of the given class.
| type | the Class to create an instance of |
Implements org.exolab.castor.util.ObjectFactory.
Referenced by org.exolab.castor.util.DefaultObjectFactory.createInstance().
| Object org.exolab.castor.util.DefaultObjectFactory.createInstance | ( | Class | type, | |
| Class[] | argTypes, | |||
| Object[] | args | |||
| ) | throws IllegalAccessException, InstantiationException |
Creates a default instance of the given class.
| type | the Class to create an instance of | |
| argTypes | the Class types for each argument, used to find the correct constructor | |
| args | the array of arguments to pass to the Class constructor |
Implements org.exolab.castor.util.ObjectFactory.
| Object org.exolab.castor.util.DefaultObjectFactory.createInstance | ( | Class | type, | |
| Object[] | args | |||
| ) | throws IllegalAccessException, InstantiationException |
Creates a default instance of the given class.
| type | the Class to create an instance of | |
| args | the array of arguments to pass to the Class constructor |
Implements org.exolab.castor.util.ObjectFactory.
References org.exolab.castor.util.DefaultObjectFactory.createInstance().
1.7.0