public class CoreEventPublisher extends Object
Modifier and Type | Field and Description |
---|---|
static String |
CORE_EVENTS_TOPIC |
static String |
XA_TOPIC_CONNECTION_FACTORY |
Modifier and Type | Method and Description |
---|---|
MessagePublisher |
createPublisher() |
static CoreEventPublisher |
getInstance() |
void |
publish(Object content,
Topic topic,
MessageFactory factory,
String eventId) |
void |
publish(Serializable content,
String eventId) |
void |
publish(Topic topic,
Serializable content,
String eventId) |
void |
reset() |
public static final String XA_TOPIC_CONNECTION_FACTORY
public static final String CORE_EVENTS_TOPIC
public static CoreEventPublisher getInstance()
public void reset()
public void publish(Serializable content, String eventId) throws JMSException
JMSException
public void publish(Topic topic, Serializable content, String eventId) throws JMSException
JMSException
public void publish(Object content, Topic topic, MessageFactory factory, String eventId) throws JMSException
JMSException
public MessagePublisher createPublisher() throws NamingException
NamingException
Copyright © 2011 Nuxeo SA. All Rights Reserved.