| org.obe.event.AbstractApplicationEventBroker org.obe.server.j2ee.service.EJBApplicationEventBroker
EJBApplicationEventBroker | public class EJBApplicationEventBroker extends AbstractApplicationEventBroker (Code) | | Provides a persistent application event broker service.
author: Adrian Price |
Field Summary | |
final protected static Log | _logger |
Method Summary | |
protected ApplicationEventSubscription | createSubscription(String eventType, Object[] eventKeys, String predicate, Date effective, Date expiry, int count, String[] correlationKeys) | protected TemporalEventSubscription | createSubscription(String eventType, Date effective, Date expiry, int count, Duration interval, String calendar, boolean recoverable, String[] correlationKeys) | protected Collection | findStoredEvents(String eventType, Object[] subscriptionKeys) | protected Collection | findSubscriptions(ApplicationEvent event, EventTypeMetaData metaData) | protected String | getConfigurationFileName() | protected Log | getLogger() | protected void | storeEvent(ApplicationEvent event, EventTypeMetaData metaData) | public void | unsubscribe(String[] correlationKeys, boolean exact) |
_logger | final protected static Log _logger(Code) | | |
getConfigurationFileName | protected String getConfigurationFileName()(Code) | | |
getLogger | protected Log getLogger()(Code) | | |
Fields inherited from org.obe.event.AbstractApplicationEventBroker | protected boolean _predicateWarningIssued(Code)(Java Doc)
|
Methods inherited from org.obe.event.AbstractApplicationEventBroker | final public void addApplicationEventListener(ApplicationEventListener listener)(Code)(Java Doc) public void createEventType(EventTypeMetaData eventType) throws RepositoryException(Code)(Java Doc) abstract protected ApplicationEventSubscription createSubscription(String eventType, Object[] eventKeys, String predicate, Date effective, Date expiry, int count, String[] correlationKeys) throws RepositoryException(Code)(Java Doc) abstract protected TemporalEventSubscription createSubscription(String eventType, Date effective, Date expiry, int count, Duration interval, String calendar, boolean recoverable, String[] correlationKeys) throws RepositoryException(Code)(Java Doc) public void deleteEventType(String eventType) throws RepositoryException(Code)(Java Doc) public EventTypeMetaData[] findEventTypeMetaData() throws RepositoryException(Code)(Java Doc) public EventTypeMetaData findEventTypeMetaData(String eventId) throws RepositoryException(Code)(Java Doc) abstract protected Collection findStoredEvents(String eventType, Object[] subscriptionKeys) throws RepositoryException(Code)(Java Doc) abstract protected Collection findSubscriptions(ApplicationEvent event, EventTypeMetaData metaData) throws RepositoryException(Code)(Java Doc) final public void fireApplicationEvent(ApplicationEvent event, String[] correlationKeys)(Code)(Java Doc) protected ContentHandler getContentHandler(String contentType)(Code)(Java Doc) protected String getContentType(Object data, Map attrs)(Code)(Java Doc) protected Evaluator getEvaluatorFor(EventTypeMetaData metaData) throws RepositoryException(Code)(Java Doc) public String getServiceName()(Code)(Java Doc) public synchronized void init() throws IOException, RepositoryException(Code)(Java Doc) public void publish(Object source, Map attrs) throws RepositoryException, EvaluatorException(Code)(Java Doc) final public void publish(ApplicationEvent event) throws RepositoryException, EvaluatorException(Code)(Java Doc) final protected void publish(ApplicationEvent event, EventTypeMetaData metaData, Evaluator evaluator, WorkflowContext ctx) throws RepositoryException, EvaluatorException(Code)(Java Doc) final public void removeApplicationEventListener(ApplicationEventListener listener)(Code)(Java Doc) abstract protected void storeEvent(ApplicationEvent event, EventTypeMetaData metaData) throws RepositoryException(Code)(Java Doc) final public TemporalEventSubscription subscribe(String eventType, Date effective, String[] correlationKeys) throws RepositoryException(Code)(Java Doc) final public ApplicationEventSubscription subscribe(String eventType, Object[] eventKeys, String predicate, Date effective, Date expiry, int count, String[] correlationKeys, WorkflowContext ctx) throws RepositoryException(Code)(Java Doc) final public TemporalEventSubscription subscribe(String eventType, Date effective, Date expiry, int count, Duration interval, String calendar, boolean recoverable, String[] correlationKeys) throws RepositoryException(Code)(Java Doc) public boolean supportsKeyBasedSubscriptions()(Code)(Java Doc) public void updateEventType(EventTypeMetaData eventType) throws RepositoryException(Code)(Java Doc)
|
|
|