public static class Utils.ShutdownThread extends Thread
Runtime.addShutdownHook(Thread) para realizar limpezas necessáriasThread.State, Thread.UncaughtExceptionHandlerMAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Constructor and Description |
|---|
ShutdownThread(ORB orb)
Construtor
|
| Modifier and Type | Method and Description |
|---|---|
void |
addConnection(tecgraf.openbus.Connection conn)
Inclui uma conexão na lista de conexões a serem liberadas pela thread
|
void |
addOffer(tecgraf.openbus.core.v2_0.services.offer_registry.ServiceOffer offer)
Inclui uma oferta na lista de ofertas a serem liberadas pela thread
|
void |
run() |
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yieldpublic ShutdownThread(ORB orb)
orb - o orbpublic void addConnection(tecgraf.openbus.Connection conn)
conn - a conexãopublic void addOffer(tecgraf.openbus.core.v2_0.services.offer_registry.ServiceOffer offer)
offer - a ofertaCopyright © 2016. All rights reserved.