@Metadata(firstVersion="1.3.0",
label="language,core,java",
title="Bean method")
public class MethodCallExpression
extends ExpressionDefinition
| Constructor and Description |
|---|
MethodCallExpression() |
MethodCallExpression(Class<?> type) |
MethodCallExpression(Class<?> type,
String method) |
MethodCallExpression(Object instance) |
MethodCallExpression(Object instance,
String method) |
MethodCallExpression(String beanName) |
MethodCallExpression(String beanName,
String method) |
| Modifier and Type | Method and Description |
|---|---|
Class<?> |
getBeanType() |
String |
getBeanTypeName() |
Object |
getInstance() |
String |
getLanguage() |
String |
getMethod() |
String |
getRef() |
void |
setBeanType(Class<?> beanType) |
void |
setBeanTypeName(String beanTypeName)
Class name of the bean to use
|
void |
setInstance(Object instance) |
void |
setMethod(String method)
Name of method to call
|
void |
setRef(String ref)
Reference to bean to lookup in the registry
|
String |
toString() |
createExpression, evaluate, getExpression, getExpressionType, getExpressionValue, getId, getLabel, getLabel, getPredicate, getTrim, matches, setExpression, setExpressionType, setExpressionValue, setId, setTrimpublic MethodCallExpression()
public MethodCallExpression(String beanName)
public MethodCallExpression(String beanName, String method)
public MethodCallExpression(Object instance)
public MethodCallExpression(Object instance, String method)
public MethodCallExpression(Class<?> type)
public MethodCallExpression(Class<?> type, String method)
public String getLanguage()
getLanguage in class ExpressionDefinitionpublic Class<?> getBeanType()
public void setBeanType(Class<?> beanType)
public String getBeanTypeName()
public void setBeanTypeName(String beanTypeName)
public Object getInstance()
public void setInstance(Object instance)
public String toString()
toString in class ExpressionDefinitionApache Camel