org.apache.servicemix.quartz.support
Class DefaultQuartzMarshaler
java.lang.Object
org.apache.servicemix.quartz.support.DefaultQuartzMarshaler
- All Implemented Interfaces:
- QuartzMarshaler
public class DefaultQuartzMarshaler
- extends java.lang.Object
- implements QuartzMarshaler
The default implementation of the Quartz marshaler
- Version:
- $Revision$
|
Method Summary |
protected java.lang.String |
asString(java.lang.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 |
DefaultQuartzMarshaler
public DefaultQuartzMarshaler()
asString
protected java.lang.String asString(java.lang.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 populatecontext - the Quartz context
- Throws:
org.quartz.JobExecutionException
javax.jbi.messaging.MessagingException
Copyright © 2005-2011 FuseSource. All Rights Reserved.