com.atlassian.bamboo.v2.build.queue
Class BuildContextMessageConverter

java.lang.Object
  extended by com.atlassian.bamboo.v2.build.queue.BuildContextMessageConverter
All Implemented Interfaces:
org.springframework.jms.support.converter.MessageConverter

public class BuildContextMessageConverter
extends java.lang.Object
implements org.springframework.jms.support.converter.MessageConverter


Constructor Summary
BuildContextMessageConverter(BuildDefinitionXStreamConverter buildDefinitionXStreamConverter)
           
 
Method Summary
 java.lang.Object fromMessage(javax.jms.Message message)
           
 javax.jms.Message toMessage(java.lang.Object object, javax.jms.Session session)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BuildContextMessageConverter

public BuildContextMessageConverter(BuildDefinitionXStreamConverter buildDefinitionXStreamConverter)
Method Detail

toMessage

public javax.jms.Message toMessage(java.lang.Object object,
                                   javax.jms.Session session)
                            throws javax.jms.JMSException,
                                   org.springframework.jms.support.converter.MessageConversionException
Specified by:
toMessage in interface org.springframework.jms.support.converter.MessageConverter
Throws:
javax.jms.JMSException
org.springframework.jms.support.converter.MessageConversionException

fromMessage

public java.lang.Object fromMessage(javax.jms.Message message)
                             throws javax.jms.JMSException,
                                    org.springframework.jms.support.converter.MessageConversionException
Specified by:
fromMessage in interface org.springframework.jms.support.converter.MessageConverter
Throws:
javax.jms.JMSException
org.springframework.jms.support.converter.MessageConversionException


Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.