|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.openjpa.lib.conf.Value org.apache.openjpa.lib.conf.ObjectValue org.apache.openjpa.lib.conf.PluginListValue
public class PluginListValue
A list of plugins. Defaults and aliases on plugin lists apply only to individual class names.
PluginValue
Constructor Summary | |
---|---|
PluginListValue(String prop)
|
Method Summary | |
---|---|
String[] |
getClassNames()
The plugin class names. |
protected String |
getInternalString()
Return the internal string form of this value. |
String[] |
getProperties()
The plugin properties. |
String |
getString()
Override to recognize aliases of the class name without the attached properties string. |
Class |
getValueType()
Returns the type of the property that this Value represents. |
Object |
instantiate(Class elemType,
Configuration conf,
boolean fatal)
Instantiate the plugins as instances of the given class. |
protected void |
objectChanged()
Implement this method to synchronize internal data with the new object value. |
void |
setClassNames(String[] names)
The plugin class names. |
protected void |
setInternalString(String str)
Set this value from the given string. |
void |
setProperties(String[] props)
The plugin properties. |
void |
setString(String str)
Override to recognize aliases of the plugin name without the attached properties string. |
Methods inherited from class org.apache.openjpa.lib.conf.ObjectValue |
---|
get, instantiate, newInstance, set, set, setInternalObject |
Methods inherited from class org.apache.openjpa.lib.conf.Value |
---|
addListener, alias, alias, assertChangeable, clone, equals, getAliases, getDefault, getInstantiatingGetter, getListeners, getLoadKey, getOriginalValue, getProperty, getScope, hashCode, isAliasListComprehensive, isDynamic, removeListener, setAlias, setAlias, setAliases, setAliasListComprehensive, setDefault, setDynamic, setInstantiatingGetter, setLoadKey, setObject, setProperty, setScope, unalias, unalias, valueChanged |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PluginListValue(String prop)
Method Detail |
---|
public String[] getClassNames()
public void setClassNames(String[] names)
public String[] getProperties()
public void setProperties(String[] props)
public Object instantiate(Class elemType, Configuration conf, boolean fatal)
instantiate
in class ObjectValue
public String getString()
getString
in class Value
public void setString(String str)
setString
in class Value
public Class getValueType()
Value
getValueType
in class ObjectValue
protected void objectChanged()
ObjectValue
objectChanged
in class ObjectValue
protected String getInternalString()
Value
getInternalString
in class ObjectValue
protected void setInternalString(String str)
Value
setInternalString
in class ObjectValue
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |