org.apache.openjpa.slice
Class ExecutorServiceValue

java.lang.Object
  extended by org.apache.openjpa.lib.conf.Value
      extended by org.apache.openjpa.lib.conf.ObjectValue
          extended by org.apache.openjpa.lib.conf.PluginValue
              extended by org.apache.openjpa.slice.ExecutorServiceValue
All Implemented Interfaces:
Cloneable

public class ExecutorServiceValue
extends org.apache.openjpa.lib.conf.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

Constructor Summary
ExecutorServiceValue()
           
 
Method Summary
 Object instantiate(Class type, org.apache.openjpa.lib.conf.Configuration conf, boolean fatal)
          Configures a cached or fixed thread pool.
 void setProperties(String props)
           
 
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.ObjectValue
get, instantiate, newInstance, 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

ExecutorServiceValue

public ExecutorServiceValue()
Method Detail

setProperties

public void setProperties(String props)
Overrides:
setProperties in class org.apache.openjpa.lib.conf.PluginValue

instantiate

public Object instantiate(Class type,
                          org.apache.openjpa.lib.conf.Configuration conf,
                          boolean fatal)
Configures a cached or fixed thread pool.

Overrides:
instantiate in class org.apache.openjpa.lib.conf.PluginValue


Copyright © 2006-2012 Apache Software Foundation. All Rights Reserved.