|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.zlatan.RegisteredQueueList
Classe che implementa un vettore di destinazioni in maniera thread-safe.
Viene utilizzata da PrepareRequestDispatcher
per memorizzare
le code JMS temporanee attivate dai vari PrepareRequestModule
.
POController
,
RegistrationController
,
PrepareRequestModule
Constructor Summary | |
RegisteredQueueList()
Crea una nuova RegisteredQueueList . |
Method Summary | |
void |
addQueue(javax.jms.Destination destination)
Metodo thread-safe per l'inserzione di una nuova coda. |
int |
getLength()
Metodo per conoscere la dimensione attuale del vettore. |
javax.jms.Destination |
getQueue(int index)
Metodo per accedere ad un singolo elemento del vettore. |
void |
removeQueue(javax.jms.Destination destination)
Metodo thread-safe per la cancellazione di una coda dal vettore. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public RegisteredQueueList()
RegisteredQueueList
.
Method Detail |
public void addQueue(javax.jms.Destination destination)
destination
- la coda da inserire nel vettorepublic void removeQueue(javax.jms.Destination destination) throws javax.jms.JMSException
destination
- la coda da cancellare
javax.jms.JMSException
public javax.jms.Destination getQueue(int index)
index
- l'indice della coda all'interno del vettore
public int getLength()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |