org.mule.util.properties
Class PayloadPropertyExtractor

java.lang.Object
  extended by org.mule.util.properties.PayloadPropertyExtractor
All Implemented Interfaces:
PropertyExtractor

public class PayloadPropertyExtractor
extends Object
implements PropertyExtractor

Checks the payload object for a bean property matching the property name


Field Summary
protected  Log logger
          logger used by this class
 
Constructor Summary
PayloadPropertyExtractor()
           
 
Method Summary
 Object getProperty(String name, Object message)
          Extracts a single property from the message
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected transient Log logger
logger used by this class

Constructor Detail

PayloadPropertyExtractor

public PayloadPropertyExtractor()
Method Detail

getProperty

public Object getProperty(String name,
                          Object message)
Description copied from interface: PropertyExtractor
Extracts a single property from the message

Specified by:
getProperty in interface PropertyExtractor
Parameters:
name - the property name or expression
message - the message to extract from
Returns:
the result of the extraction or null if the property was not found


Copyright © 2003-2008 MuleSource, Inc.. All Rights Reserved.