public abstract class AbstractExecutorEventWorker extends java.lang.Object implements EventListener<Event>, javax.jms.MessageListener, ru.bitel.bgbilling.kernel.application.server.Lifecycle
| Modifier and Type | Field and Description |
|---|---|
protected ru.bitel.bgbilling.kernel.event.AbstractConsumer |
consumer |
protected int |
moduleId |
| Constructor and Description |
|---|
AbstractExecutorEventWorker(EventProcessor ep,
java.lang.Class<? extends Event> clazz,
int moduleId,
int pluginId,
java.lang.String query) |
AbstractExecutorEventWorker(EventProcessor ep,
java.lang.String destination,
int moduleId,
int pluginId,
java.lang.String query,
java.lang.Class<?>... clazz) |
| Modifier and Type | Method and Description |
|---|---|
void |
shutdown() |
void |
start() |
void |
stop() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitnotifyprotected final ru.bitel.bgbilling.kernel.event.AbstractConsumer consumer
protected final int moduleId
public AbstractExecutorEventWorker(EventProcessor ep, java.lang.Class<? extends Event> clazz, int moduleId, int pluginId, java.lang.String query) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGExceptionpublic AbstractExecutorEventWorker(EventProcessor ep, java.lang.String destination, int moduleId, int pluginId, java.lang.String query, java.lang.Class<?>... clazz) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGExceptionpublic void start()
throws ru.bitel.bgbilling.common.BGException
start in interface ru.bitel.bgbilling.kernel.application.server.Lifecycleru.bitel.bgbilling.common.BGExceptionpublic void stop()
throws ru.bitel.bgbilling.common.BGException
stop in interface ru.bitel.bgbilling.kernel.application.server.Lifecycleru.bitel.bgbilling.common.BGExceptionpublic void shutdown()
throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException