|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface GenericListener
A Basic message listener for use in IndexerServlet. Real message listeners are expected to extend this class.
| Method Summary | |
|---|---|
java.lang.String |
getId()
Return the ID string for this listener |
void |
init(JsonSimpleConfig config)
Initialization method |
void |
setPriority(int newPriority)
Sets the priority level for the thread. |
void |
start()
Start the queue |
void |
stop()
Stop the Queue Consumer |
| Methods inherited from interface javax.jms.MessageListener |
|---|
onMessage |
| Methods inherited from interface java.lang.Runnable |
|---|
run |
| Method Detail |
|---|
void init(JsonSimpleConfig config)
throws java.lang.Exception
config - Configuration to use
java.io.IOException - if the configuration file not found
java.lang.Exceptionjava.lang.String getId()
void start()
throws java.lang.Exception
javax.jms.JMSException - if an error occurred starting the JMS connections
java.lang.Exception
void stop()
throws java.lang.Exception
java.lang.Exception - if an error occurred stoppingvoid setPriority(int newPriority)
newPriority - The priority level to set the thread at
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||