org.apache.camel.model.language
Class MethodCallExpression

java.lang.Object
  extended by org.apache.camel.model.language.ExpressionDefinition
      extended by org.apache.camel.model.language.MethodCallExpression
All Implemented Interfaces:
Expression, Predicate

public class MethodCallExpression
extends ExpressionDefinition

For expressions and predicates using the bean language

Version:
$Revision: 775155 $

Constructor Summary
MethodCallExpression()
           
MethodCallExpression(Class type)
           
MethodCallExpression(Class type, String method)
           
MethodCallExpression(String beanName)
           
MethodCallExpression(String beanName, String method)
           
 
Method Summary
protected  String beanName()
           
 Expression createExpression(RouteContext routeContext)
           
 Predicate createPredicate(RouteContext routeContext)
           
 String getLanguage()
           
 String getMethod()
           
 void setMethod(String method)
           
 String toString()
           
 
Methods inherited from class org.apache.camel.model.language.ExpressionDefinition
assertMatches, configureExpression, configurePredicate, evaluate, evaluate, getExpression, getExpressionType, getExpressionValue, getId, getLabel, getLabel, getPredicate, matches, setExpression, setExpressionType, setExpressionValue, setId, setProperty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MethodCallExpression

public MethodCallExpression()

MethodCallExpression

public MethodCallExpression(String beanName)

MethodCallExpression

public MethodCallExpression(String beanName,
                            String method)

MethodCallExpression

public MethodCallExpression(Class type)

MethodCallExpression

public MethodCallExpression(Class type,
                            String method)
Method Detail

getLanguage

public String getLanguage()
Overrides:
getLanguage in class ExpressionDefinition

getMethod

public String getMethod()

setMethod

public void setMethod(String method)

createExpression

public Expression createExpression(RouteContext routeContext)
Overrides:
createExpression in class ExpressionDefinition

createPredicate

public Predicate createPredicate(RouteContext routeContext)
Overrides:
createPredicate in class ExpressionDefinition

beanName

protected String beanName()

toString

public String toString()
Overrides:
toString in class ExpressionDefinition


Apache CAMEL