cern::laser::business::pojo::AlarmPublisherImpl Class Reference

Collaboration diagram for cern::laser::business::pojo::AlarmPublisherImpl:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 AlarmPublisherImpl ()
void setTopicConnectionFactory (TopicConnectionFactory topicConnectionFactory)
void setCategoryRootTopic (String categoryRootTopic)
void publish (AlarmChange alarmChange)
void sendInit (AlarmImpl alarm, String destination)
void sendInit (Collection alarms, String destination)
void publish (Collection alarmChanges)
String getCategoryRootTopic ()
void sendInitFinished (String destination)
void sendSearch (Collection alarms, String destination)

Private Member Functions

void sendSearchFinished (String destination)
TopicSession getTopicSession () throws JMSException, NamingException
TopicConnection getTopicConnection () throws JMSException, NamingException
TopicPublisher getTopicPublisher () throws JMSException, NamingException
void close ()
void setMessageProperties (Message message, Alarm alarm) throws JMSException

Private Attributes

Context context = null
TopicConnection connection = null
TopicSession session = null
TopicPublisher publisher = null
TopicConnectionFactory topicConnectionFactory
String categoryRootTopic = DEFAULT_CATEGORY_ROOT_TOPIC

Static Private Attributes

static final String LASER_INIT_PROPERTY = "LASER_INIT"
static final String LASER_SEARCH_PROPERTY = "LASER_SEARCH"
static final Logger LOGGER = Logger.getLogger(AlarmPublisherImpl.class.getName())
static final String DEFAULT_CATEGORY_ROOT_TOPIC = "CMW.ALARM_SYSTEM.CATEGORIES"
static final String BOOLEAN_SUFFIX = "_BOOL"
static final String INTEGER_SUFFIX = "_INT"
static final String FLOAT_SUFFIX = "_FLOAT"
static final String DOUBLE_SUFFIX = "_DOUBLE"
static final String SHORT_SUFFIX = "_SHORT"
static final String LONG_SUFFIX = "_LONG"
static final String STRING_SUFFIX = "_STRING"
static final String BYTE_SUFFIX = "_BYTE"

Constructor & Destructor Documentation

cern::laser::business::pojo::AlarmPublisherImpl::AlarmPublisherImpl (  )  [inline]

Member Function Documentation

void cern::laser::business::pojo::AlarmPublisherImpl::close (  )  [inline, private]
String cern::laser::business::pojo::AlarmPublisherImpl::getCategoryRootTopic (  )  [inline]
TopicConnection cern::laser::business::pojo::AlarmPublisherImpl::getTopicConnection (  )  throws JMSException, NamingException [inline, private]

References connection, and topicConnectionFactory.

Referenced by getTopicSession().

TopicPublisher cern::laser::business::pojo::AlarmPublisherImpl::getTopicPublisher (  )  throws JMSException, NamingException [inline, private]
TopicSession cern::laser::business::pojo::AlarmPublisherImpl::getTopicSession (  )  throws JMSException, NamingException [inline, private]
void cern::laser::business::pojo::AlarmPublisherImpl::publish ( Collection  alarmChanges  )  [inline]

References publish().

void cern::laser::business::pojo::AlarmPublisherImpl::publish ( AlarmChange  alarmChange  )  [inline]
void cern::laser::business::pojo::AlarmPublisherImpl::sendInit ( Collection  alarms,
String  destination 
) [inline]
void cern::laser::business::pojo::AlarmPublisherImpl::sendInit ( AlarmImpl  alarm,
String  destination 
) [inline]
void cern::laser::business::pojo::AlarmPublisherImpl::sendInitFinished ( String  destination  )  [inline]
void cern::laser::business::pojo::AlarmPublisherImpl::sendSearch ( Collection  alarms,
String  destination 
) [inline]
void cern::laser::business::pojo::AlarmPublisherImpl::sendSearchFinished ( String  destination  )  [inline, private]
void cern::laser::business::pojo::AlarmPublisherImpl::setCategoryRootTopic ( String  categoryRootTopic  )  [inline]
void cern::laser::business::pojo::AlarmPublisherImpl::setMessageProperties ( Message  message,
Alarm  alarm 
) throws JMSException [inline, private]
void cern::laser::business::pojo::AlarmPublisherImpl::setTopicConnectionFactory ( TopicConnectionFactory  topicConnectionFactory  )  [inline]

Member Data Documentation

final String cern::laser::business::pojo::AlarmPublisherImpl::BOOLEAN_SUFFIX = "_BOOL" [static, private]

Referenced by setMessageProperties().

final String cern::laser::business::pojo::AlarmPublisherImpl::BYTE_SUFFIX = "_BYTE" [static, private]

Referenced by setMessageProperties().

Referenced by getCategoryRootTopic(), and publish().

Referenced by close(), and getTopicConnection().

final String cern::laser::business::pojo::AlarmPublisherImpl::DEFAULT_CATEGORY_ROOT_TOPIC = "CMW.ALARM_SYSTEM.CATEGORIES" [static, private]
final String cern::laser::business::pojo::AlarmPublisherImpl::DOUBLE_SUFFIX = "_DOUBLE" [static, private]

Referenced by setMessageProperties().

final String cern::laser::business::pojo::AlarmPublisherImpl::FLOAT_SUFFIX = "_FLOAT" [static, private]

Referenced by setMessageProperties().

final String cern::laser::business::pojo::AlarmPublisherImpl::INTEGER_SUFFIX = "_INT" [static, private]

Referenced by setMessageProperties().

final String cern::laser::business::pojo::AlarmPublisherImpl::LASER_INIT_PROPERTY = "LASER_INIT" [static, private]

Referenced by sendInitFinished().

final String cern::laser::business::pojo::AlarmPublisherImpl::LASER_SEARCH_PROPERTY = "LASER_SEARCH" [static, private]

Referenced by sendSearchFinished().

final Logger cern::laser::business::pojo::AlarmPublisherImpl::LOGGER = Logger.getLogger(AlarmPublisherImpl.class.getName()) [static, private]
final String cern::laser::business::pojo::AlarmPublisherImpl::LONG_SUFFIX = "_LONG" [static, private]

Referenced by close(), and getTopicPublisher().

Referenced by close(), and getTopicSession().

final String cern::laser::business::pojo::AlarmPublisherImpl::SHORT_SUFFIX = "_SHORT" [static, private]

Referenced by setMessageProperties().

final String cern::laser::business::pojo::AlarmPublisherImpl::STRING_SUFFIX = "_STRING" [static, private]

Referenced by getTopicConnection().


The documentation for this class was generated from the following file:

Generated by  doxygen 1.6.2