org.apache.servicemix.quartz.support
Class DefaultQuartzMarshaler

java.lang.Object
  extended by org.apache.servicemix.quartz.support.DefaultQuartzMarshaler
All Implemented Interfaces:
QuartzMarshaler

public class DefaultQuartzMarshaler
extends Object
implements QuartzMarshaler

The default implementation of the Quartz marshaler

Version:
$Revision: 45185 $

Constructor Summary
DefaultQuartzMarshaler()
           
 
Method Summary
protected  String asString(Object value)
          Converts the value to a String
 org.apache.servicemix.jbi.jaxp.SourceTransformer getTransformer()
           
 void populateNormalizedMessage(javax.jbi.messaging.NormalizedMessage message, org.quartz.JobExecutionContext context)
          Populates the given normalized message from the Quartz context
 void setTransformer(org.apache.servicemix.jbi.jaxp.SourceTransformer transformer)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultQuartzMarshaler

public DefaultQuartzMarshaler()
Method Detail

asString

protected String asString(Object value)
Converts the value to a String

Parameters:
value - the value to be coerced into a string
Returns:
the value as a string or null if it cannot be converted

getTransformer

public org.apache.servicemix.jbi.jaxp.SourceTransformer getTransformer()

setTransformer

public void setTransformer(org.apache.servicemix.jbi.jaxp.SourceTransformer transformer)

populateNormalizedMessage

public void populateNormalizedMessage(javax.jbi.messaging.NormalizedMessage message,
                                      org.quartz.JobExecutionContext context)
                               throws org.quartz.JobExecutionException,
                                      javax.jbi.messaging.MessagingException
Description copied from interface: QuartzMarshaler
Populates the given normalized message from the Quartz context

Specified by:
populateNormalizedMessage in interface QuartzMarshaler
Parameters:
message - the normalized message to populate
context - the Quartz context
Throws:
org.quartz.JobExecutionException
javax.jbi.messaging.MessagingException


Copyright © 2005-2009 The Apache Software Foundation. All Rights Reserved.