@NotStorableClass public interface IInstanceFactory
Modifier and Type | Method and Description |
---|---|
Object |
newInstance(Class<?> objectClass) |
Object |
newInstance(Class<?> objectClass,
Class<?>[] parameterTypes,
Object[] initargs) |
Object newInstance(Class<?> objectClass, Class<?>[] parameterTypes, Object[] initargs)
objectClass
- the class of the object to createparameterTypes
- parameters type, see
Class.getConstructor(Class...)
initargs
- the construction parameters, see
Constructor.newInstance(Object...)
FilePersistenceRuntimeException
Copyright © 2007-2012 Luc Peuvrier. All Rights Reserved.