public class ExtensionPoint extends LinkedHashMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
ExtensionPoint(String extensionPointName)
Deprecated.
Construye un punto de extension.
|
ExtensionPoint(String extensionPointName,
String description)
Deprecated.
Construye un punto de extension.
|
Modifier and Type | Method and Description |
---|---|
void |
addAlias(String item,
String alias)
Deprecated.
Crea un alias para una extension registrada.
|
Object |
create(String name)
Deprecated.
Crea una extension.
|
Object |
create(String name,
Map args)
Deprecated.
|
Object |
create(String name,
Object[] args)
Deprecated.
Crea una extension.
|
String |
getDescription()
Deprecated.
Retorna la descripcion asociada al punto de extension.
|
String |
getExtensionDescription(String key)
Deprecated.
Retorna la descripcion asociada a una extension.
|
String |
getName()
Deprecated.
Retorna el nombre de punto de extension.
|
Object |
insert(String beforeKey,
String key,
String description,
Object value)
Deprecated.
Aņade una extension antes de la indicada con beforeKey,
con su descripcion asociada
|
Object |
put(String key,
String description,
Object value)
Deprecated.
Aņade una extension con su descripcion asociada
|
void |
setDescripcion(String description)
Deprecated.
Asocia una descripcion al punto de extension.
|
void |
setExtensionDescription(String key,
String description)
Deprecated.
Asocia una descripcion a una extension registrada.
|
clear, containsValue, entrySet, forEach, get, getOrDefault, keySet, removeEldestEntry, replaceAll, values
clone, compute, computeIfAbsent, computeIfPresent, containsKey, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, size
equals, hashCode, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, containsKey, equals, hashCode, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, size
public ExtensionPoint(String extensionPointName)
extensionPointName
- Nombre del punto de extension.public String getName()
public String getDescription()
public void setDescripcion(String description)
description
- public String getExtensionDescription(String key)
key
- public void setExtensionDescription(String key, String description)
key
- Nombre de la extensiondescription
- public Object put(String key, String description, Object value)
key
- clave de la extensiondecription
- descripcion de la extensionvalue
- extensionpublic Object insert(String beforeKey, String key, String description, Object value)
key
- clave de la extensiondecription
- descripcion de la extensionvalue
- extensionpublic Object create(String name) throws InstantiationException, IllegalAccessException
name
- Nombre de la extension a crear.InstantiationException
IllegalAccessException
public Object create(String name, Object[] args) throws SecurityException, NoSuchMethodException, IllegalArgumentException, InstantiationException, IllegalAccessException, InvocationTargetException
name
- Nombre de la extension a crear.args
- Array de objetos a pasar como parametros en la construccion de la instancia de la extension.SecurityException
NoSuchMethodException
IllegalArgumentException
InstantiationException
IllegalAccessException
InvocationTargetException
public Object create(String name, Map args) throws SecurityException, NoSuchMethodException, IllegalArgumentException, InstantiationException, IllegalAccessException, InvocationTargetException
public void addAlias(String item, String alias) throws KeyException
item
- Nombre de la extension registrada.alias
- alias a aņadir.KeyException