Nuxeo Enterprise Platform 5.4

org.nuxeo.ecm.core.jms
Class CoreEventPublisher

java.lang.Object
  extended by org.nuxeo.ecm.core.jms.CoreEventPublisher

public class CoreEventPublisher
extends java.lang.Object

Author:
Bogdan Stefanescu

Field Summary
static java.lang.String CORE_EVENTS_TOPIC
           
static java.lang.String XA_TOPIC_CONNECTION_FACTORY
           
 
Method Summary
 MessagePublisher createPublisher()
           
static CoreEventPublisher getInstance()
           
 void publish(java.lang.Object content, javax.jms.Topic topic, MessageFactory factory, java.lang.String eventId)
           
 void publish(java.io.Serializable content, java.lang.String eventId)
           
 void publish(javax.jms.Topic topic, java.io.Serializable content, java.lang.String eventId)
           
 void reset()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

XA_TOPIC_CONNECTION_FACTORY

public static final java.lang.String XA_TOPIC_CONNECTION_FACTORY
See Also:
Constant Field Values

CORE_EVENTS_TOPIC

public static final java.lang.String CORE_EVENTS_TOPIC
See Also:
Constant Field Values
Method Detail

getInstance

public static CoreEventPublisher getInstance()

reset

public void reset()

publish

public void publish(java.io.Serializable content,
                    java.lang.String eventId)
             throws javax.jms.JMSException
Throws:
javax.jms.JMSException

publish

public void publish(javax.jms.Topic topic,
                    java.io.Serializable content,
                    java.lang.String eventId)
             throws javax.jms.JMSException
Throws:
javax.jms.JMSException

publish

public void publish(java.lang.Object content,
                    javax.jms.Topic topic,
                    MessageFactory factory,
                    java.lang.String eventId)
             throws javax.jms.JMSException
Throws:
javax.jms.JMSException

createPublisher

public MessagePublisher createPublisher()
                                 throws javax.naming.NamingException
Throws:
javax.naming.NamingException

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.