public abstract class ExtensionBuilder extends Object implements IExtensionBuilder
Constructor and Description |
---|
ExtensionBuilder()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static Object |
create(Class cls)
Deprecated.
Crea un objeto de la clase indicada.
|
static Object |
create(Class cls,
Map args)
Deprecated.
Crea un objeto de la clase indicada.
|
static Object |
create(Class cls,
Object[] args)
Deprecated.
Crea un objeto de la clase indicada.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
create, create, create
public static Object create(Class cls) throws InstantiationException, IllegalAccessException
cls
- Clase de la que crear la instanciaInstantiationException
IllegalAccessException
public static Object create(Class cls, Object[] args) throws SecurityException, NoSuchMethodException, IllegalArgumentException, InstantiationException, IllegalAccessException, InvocationTargetException
cls
- Clase de la que crear la instanciaargs
- Argumentos que pasar al constructor.SecurityException
NoSuchMethodException
IllegalArgumentException
InstantiationException
IllegalAccessException
InvocationTargetException
public static Object create(Class cls, Map args) throws SecurityException, NoSuchMethodException, IllegalArgumentException, InstantiationException, IllegalAccessException, InvocationTargetException
cls
- Clase de la que crear la instanciaargs
- Map a pasar como argumento al constructor.SecurityException
NoSuchMethodException
IllegalArgumentException
InstantiationException
IllegalAccessException
InvocationTargetException