public abstract class NotificatorService extends Object
Modifier and Type | Field and Description |
---|---|
static int |
CORE_POOL_SIZE |
protected static Logger |
LOG |
protected ExecutorService |
service |
Constructor and Description |
---|
NotificatorService() |
Modifier and Type | Method and Description |
---|---|
void |
dispatchEvent(Object event) |
protected abstract SubscriptionManagerInterfaceForNotificators |
obtainManager() |
void |
start()
Starts this NotificatorService.
|
void |
stop()
Shuts down the NotificatorService.
|
protected abstract void |
submitNotificationTask(SubscriptionTicket ticket,
Object event) |
void |
subscriptionEnd(SubscriptionTicket ticket,
String reason,
SubscriptionEndStatus status) |
public static final int CORE_POOL_SIZE
protected static final Logger LOG
protected ExecutorService service
protected abstract SubscriptionManagerInterfaceForNotificators obtainManager()
public void dispatchEvent(Object event)
protected abstract void submitNotificationTask(SubscriptionTicket ticket, Object event)
public void subscriptionEnd(SubscriptionTicket ticket, String reason, SubscriptionEndStatus status)
public void start()
public void stop()
Apache CXF