|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atomikos.icatch.imp.thread.Java14BackportExecutorFactory
public class Java14BackportExecutorFactory
This is the backport thread pool creator.
Nested Class Summary | |
---|---|
protected static class |
Java15ExecutorFactory.FactoryProxy
|
Field Summary | |
---|---|
static String |
IFACTORY_CLASS
|
static String |
IQUEUE_CLASS
|
static String |
MAIN_CLASS
|
static String |
QUEUE_CLASS
|
static String |
TIMEUNIT_CLASS
|
Constructor Summary | |
---|---|
protected |
Java14BackportExecutorFactory()
|
Method Summary | |
---|---|
com.atomikos.icatch.imp.thread.InternalSystemExecutor |
createExecutor()
|
protected Constructor |
extractConstructor(Class poolClass)
Given the main pool class, extract the constructor to use. |
protected Method |
extractShutdownMethod(Class poolClass)
Extract the "shutdown" method from the main pool class. |
protected Method |
extractSubmitMethod(Class poolClass)
Extract the "submit" method from the main pool class. |
protected Class |
loadClass(String name)
Load a given class, and make sure the "preferContext" member is check to use the correct order of class loading. |
protected Class |
loadMainPoolClass()
Load the main pool class. |
protected Object[] |
toConstructionParameters()
Given the arguments, make an object array which corresponds to the underlying constructor. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String MAIN_CLASS
public static final String IQUEUE_CLASS
public static final String QUEUE_CLASS
public static final String TIMEUNIT_CLASS
public static final String IFACTORY_CLASS
Constructor Detail |
---|
protected Java14BackportExecutorFactory() throws Exception
Exception
Method Detail |
---|
protected Constructor extractConstructor(Class poolClass) throws Exception
Exception
protected Object[] toConstructionParameters() throws Exception
Exception
protected Class loadMainPoolClass() throws Exception
Exception
public com.atomikos.icatch.imp.thread.InternalSystemExecutor createExecutor() throws Exception
Exception
protected Class loadClass(String name) throws Exception
Exception
protected Method extractSubmitMethod(Class poolClass) throws Exception
Exception
protected Method extractShutdownMethod(Class poolClass) throws Exception
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |