|
![]() |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.Thread | +--uk.org.iscream.cms.corbaservices.CorbaServices.ServiceThread
Inner class to provide a thread for running a Service.
Field Summary | |
(package private) Object[] |
_args
The array of arguments |
(package private) Method |
_mainMethod
The method we'll treat as main |
Fields inherited from class java.lang.Thread |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
(package private) |
CorbaServices.ServiceThread(Method mainMethod,
Object[] args)
The constructor takes the name of the method we're gonna run and the arguments we're gonna pass into it. |
Method Summary | |
void |
run()
Invokes our main method, with the arguments we have been given. |
Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
Method _mainMethod
Object[] _args
Constructor Detail |
CorbaServices.ServiceThread(Method mainMethod, Object[] args)
mainMethod
- a method that we'll treat as mainargs
- an array of arguments for mainMethodMethod Detail |
public void run()
run
in interface Runnable
run
in class Thread
|
![]() |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |