Package ru.bitel.bgbilling.kernel.event
Class ExecutorEventWorker
java.lang.Object
ru.bitel.bgbilling.kernel.event.AbstractExecutorEventWorker
ru.bitel.bgbilling.kernel.event.ExecutorEventWorker
- All Implemented Interfaces:
javax.jms.MessageListener
,ru.bitel.bgbilling.kernel.application.server.Lifecycle
,EventListener<ru.bitel.bgbilling.kernel.event.common.Event>
public abstract class ExecutorEventWorker
extends AbstractExecutorEventWorker
implements EventListener<ru.bitel.bgbilling.kernel.event.common.Event>, javax.jms.MessageListener, ru.bitel.bgbilling.kernel.application.server.Lifecycle
-
Nested Class Summary
-
Field Summary
Fields inherited from class ru.bitel.bgbilling.kernel.event.AbstractExecutorEventWorker
consumer, moduleId
-
Constructor Summary
ConstructorDescriptionExecutorEventWorker
(ExecutorEventWorker.ContractExecutorEventWorker executor, EventProcessor ep, Class<? extends ru.bitel.bgbilling.kernel.event.common.Event> clazz, int moduleId, int pluginId, String query) ExecutorEventWorker
(ExecutorEventWorker.ContractExecutorEventWorker executor, EventProcessor ep, String destination, int moduleId, int pluginId, String query, Class<?>... clazz) -
Method Summary
Methods inherited from class ru.bitel.bgbilling.kernel.event.AbstractExecutorEventWorker
shutdown, start, stop
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface ru.bitel.bgbilling.kernel.event.EventListener
notify
Methods inherited from interface ru.bitel.bgbilling.kernel.application.server.Lifecycle
start, stop
-
Field Details
-
executor
-
-
Constructor Details
-
ExecutorEventWorker
public ExecutorEventWorker(ExecutorEventWorker.ContractExecutorEventWorker executor, EventProcessor ep, Class<? extends ru.bitel.bgbilling.kernel.event.common.Event> clazz, int moduleId, int pluginId, String query) throws ru.bitel.bgbilling.common.BGException - Throws:
ru.bitel.bgbilling.common.BGException
-
ExecutorEventWorker
public ExecutorEventWorker(ExecutorEventWorker.ContractExecutorEventWorker executor, EventProcessor ep, String destination, int moduleId, int pluginId, String query, Class<?>... clazz) throws ru.bitel.bgbilling.common.BGException - Throws:
ru.bitel.bgbilling.common.BGException
-
-
Method Details
-
onMessage
public void onMessage(javax.jms.Message message) - Specified by:
onMessage
in interfacejavax.jms.MessageListener
-