org.apache.openjpa.slice
Class ExecutorServiceValue
java.lang.Object
   org.apache.openjpa.lib.conf.Value
org.apache.openjpa.lib.conf.Value
       org.apache.openjpa.lib.conf.ObjectValue
org.apache.openjpa.lib.conf.ObjectValue
           org.apache.openjpa.lib.conf.PluginValue
org.apache.openjpa.lib.conf.PluginValue
               org.apache.openjpa.slice.ExecutorServiceValue
org.apache.openjpa.slice.ExecutorServiceValue
- All Implemented Interfaces: 
- Cloneable
- public class ExecutorServiceValue 
- extends PluginValue
Value type used to represent a ExecutorService.
 This value controls the thread pool parameters. The thread pool is used
 to execute the queries.
- Author:
- Pinaki Poddar
 
 
| Methods inherited from class org.apache.openjpa.lib.conf.PluginValue | 
| getClassName, getInternalString, getProperties, getString, getValueType, isSingleton, objectChanged, set, setClassName, setInternalString, setString | 
 
 
| Methods inherited from class org.apache.openjpa.lib.conf.Value | 
| alias, alias, assertChangeable, clone, equals, getAliases, getDefault, getInstantiatingGetter, getListener, getLoadKey, getOriginalValue, getProperty, getScope, hashCode, isAliasListComprehensive, isDynamic, setAlias, setAlias, setAliases, setAliasListComprehensive, setDefault, setDynamic, setInstantiatingGetter, setListener, setLoadKey, setObject, setProperty, setScope, unalias, unalias, valueChanged | 
 
 
ExecutorServiceValue
public ExecutorServiceValue()
setProperties
public void setProperties(String props)
- Description copied from class: PluginValue
- The plugin properties.
 
- 
- Overrides:
- setPropertiesin class- PluginValue
 
- 
 
instantiate
public Object instantiate(Class type,
                          Configuration conf,
                          boolean fatal)
- Configures a cached or fixed thread pool.
 
- 
- Overrides:
- instantiatein class- PluginValue
 
- 
 
Copyright © 2006-2008 Apache Software Foundation. All Rights Reserved.