| org.enhydra.jdbc.core.JdbcThreadFactory
JdbcThreadFactory | public interface JdbcThreadFactory (Code) | | Generic interface for getting threads, modeled after Enhydra
ThreadClientService interface. This allows the JdbcLib code
to be portable across app servers.
|
getThread | public Thread getThread(Runnable target) throws SQLException(Code) | | Get a thread for the client. This thread will belong to the
client's thread group.
Parameters: target - the Runnable object that will use this thread. the Thread that the client can now use. |
getThread | public Thread getThread(Runnable target, String name) throws SQLException(Code) | | Get a thread for the client. This thread will belong to the
client's thread group.
Parameters: target - the Runnable object that will use this thread. Parameters: name - the name of the thread. If a null value is givenan arbitrary name will be provided the Thread that the client can now use. |
getThread | public Thread getThread(ThreadGroup group, Runnable target) throws SQLException(Code) | | Get a thread for the client. This thread will belong to the
the specified thread group, or the client's thread group if none
is specified.
Parameters: group - the ThreadGroup to which the new thread will be added. Ifnull the new thread is added to the same threadgroup as the currently executing thread. Parameters: target - the Runnable object that will use this thread. the Thread that the client can now use. |
getThread | public Thread getThread(ThreadGroup group, Runnable target, String name) throws SQLException(Code) | | Get a thread for the client. This thread will belong to the
the specified thread group, or the client's thread group if none
is specified.
Parameters: group - the ThreadGroup to which the new thread will be added. Ifnull the new thread is added to the same threadgroup as the currently executing thread. Parameters: target - the Runnable object that will use this thread. Parameters: name - the String name ofthe new thread. If a null valueis given an arbitrary name will be provided. the Thread that the client can now use. |
|
|