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, wait
notify
protected 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.BGException
public 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.BGException
public void start() throws ru.bitel.bgbilling.common.BGException
start
in interface ru.bitel.bgbilling.kernel.application.server.Lifecycle
ru.bitel.bgbilling.common.BGException
public void stop() throws ru.bitel.bgbilling.common.BGException
stop
in interface ru.bitel.bgbilling.kernel.application.server.Lifecycle
ru.bitel.bgbilling.common.BGException
public void shutdown() throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException