biz.hammurapi.jms
Class XmlBeansMessageProcessor

java.lang.Object
  extended by biz.hammurapi.config.ComponentBase
      extended by biz.hammurapi.jms.MessageProcessor
          extended by biz.hammurapi.jms.StylingXmlMessageProcessor
              extended by biz.hammurapi.jms.XmlBeansMessageProcessor
All Implemented Interfaces:
biz.hammurapi.config.Component, biz.hammurapi.config.Context, biz.hammurapi.config.Restartable, biz.hammurapi.metrics.MeasurementCollector, biz.hammurapi.metrics.MeasurementConsumer

public abstract class XmlBeansMessageProcessor
extends StylingXmlMessageProcessor


Field Summary
 
Fields inherited from class biz.hammurapi.jms.StylingXmlMessageProcessor
transformerFactory
 
Fields inherited from class biz.hammurapi.jms.MessageProcessor
acknowledgeMode, connection, connectionFactory, initialContext, isTransacted, logger, restartCommand, worker
 
Fields inherited from class biz.hammurapi.config.ComponentBase
owner
 
Constructor Summary
XmlBeansMessageProcessor()
           
 
Method Summary
protected  javax.xml.transform.Result createResult()
          Creates result to receive transformed input.
protected abstract  org.apache.xmlbeans.XmlObject processObject(org.apache.xmlbeans.XmlObject obj)
           
protected  java.lang.String processResult(javax.xml.transform.Result result)
          Processes result.
 
Methods inherited from class biz.hammurapi.jms.StylingXmlMessageProcessor
processMessage, setReplyDestination, setStylesheet, start
 
Methods inherited from class biz.hammurapi.jms.MessageProcessor
_processMessage, borrowSession, getChild, releaseSession, setAcknowledgeMode, setConnection, setConnectionFactory, setDestination, setInitialContext, setListeners, setLogger, setMessageSelector, setNoLocal, setPassword, setRestartCommand, setTransacted, setUser, setWorker, stop
 
Methods inherited from class biz.hammurapi.config.ComponentBase
addMeasurement, get, getMeasurementConsumer, getOwner, getOwner, setMeasurementConsumer, setOwner
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XmlBeansMessageProcessor

public XmlBeansMessageProcessor()
Method Detail

createResult

protected javax.xml.transform.Result createResult()
Description copied from class: StylingXmlMessageProcessor
Creates result to receive transformed input.

Overrides:
createResult in class StylingXmlMessageProcessor
Returns:
Result instance.

processResult

protected java.lang.String processResult(javax.xml.transform.Result result)
Description copied from class: StylingXmlMessageProcessor
Processes result. If this method return value is not null then it is sent to reply destination.

Overrides:
processResult in class StylingXmlMessageProcessor
Returns:

processObject

protected abstract org.apache.xmlbeans.XmlObject processObject(org.apache.xmlbeans.XmlObject obj)


Copyright © 2006 Hammurapi Group. All Rights Reserved.