Save This Page
Home » apache-openjpa-1.1.0-source » org.apache.openjpa.lib » conf » [javadoc | source]
org.apache.openjpa.lib.conf
public class: PluginValue [javadoc | source]
java.lang.Object
   org.apache.openjpa.lib.conf.Value
      org.apache.openjpa.lib.conf.ObjectValue
         org.apache.openjpa.lib.conf.PluginValue

All Implemented Interfaces:
    Cloneable

Direct Known Subclasses:
    BrokerValue, BrokerFactoryValue, QueryCompilationCacheValue, ExecutorServiceValue, MappingFactoryValue, MetaDataRepositoryValue, JDBCSeqValue, EntityManagerFactoryValue, SeqValue, MappingRepositoryValue, RemoteCommitProviderValue

A plugin Value consisting of plugin name and properties. Plugins should be specified in the form:
<plugin-name>(<prop1>=<val1>, ...)
Both the plugin name and prop list are optional, so that the following forms are also valid:
<plugin-name>
<prop1>=<val1> ... Defaults and aliases on plugin values apply only to the plugin name.
Constructor:
 public PluginValue(String prop,
    boolean singleton) 
Method from org.apache.openjpa.lib.conf.PluginValue Summary:
getClassName,   getInternalString,   getProperties,   getString,   getValueType,   instantiate,   isSingleton,   objectChanged,   set,   setClassName,   setInternalString,   setProperties,   setString
Methods from org.apache.openjpa.lib.conf.ObjectValue:
get,   getInternalString,   getValueType,   instantiate,   instantiate,   newInstance,   objectChanged,   set,   set,   setInternalObject,   setInternalString
Methods from org.apache.openjpa.lib.conf.Value:
alias,   alias,   assertChangeable,   clone,   equals,   getAliases,   getDefault,   getInstantiatingGetter,   getInternalString,   getListener,   getLoadKey,   getOriginalValue,   getProperty,   getScope,   getString,   getValueType,   hashCode,   isAliasListComprehensive,   isDefault,   isDynamic,   setAlias,   setAlias,   setAliasListComprehensive,   setAliases,   setDefault,   setDynamic,   setInstantiatingGetter,   setInternalObject,   setInternalString,   setListener,   setLoadKey,   setObject,   setProperty,   setScope,   setString,   unalias,   unalias,   valueChanged
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.openjpa.lib.conf.PluginValue Detail:
 public String getClassName() 
    The plugin class name.
 protected String getInternalString() 
 public String getProperties() 
    The plugin properties.
 public String getString() 
 public Class getValueType() 
 public Object instantiate(Class type,
    Configuration conf,
    boolean fatal) 
    Instantiate the plugin as an instance of the given class.
 public boolean isSingleton() 
    Whether this value is a singleton.
 protected  void objectChanged() 
 public  void set(Object obj,
    boolean derived) 
 public  void setClassName(String name) 
    The plugin class name.
 protected  void setInternalString(String str) 
 public  void setProperties(String props) 
    The plugin properties.
 public  void setString(String str)