org.apache.camel.spring.util
Class BeanInfo
java.lang.Object
org.apache.camel.spring.util.BeanInfo
public class BeanInfo
- extends Object
Represents the metadata about a bean type created via a combination of
introspection and annotations together with some useful sensible defaults
- Version:
- $Revision: $
Method Summary |
org.aopalliance.intercept.MethodInvocation |
createInvocation(Method method,
Object pojo,
org.apache.camel.Exchange messageExchange)
|
org.aopalliance.intercept.MethodInvocation |
createInvocation(Object pojo,
org.apache.camel.Exchange messageExchange)
|
protected org.apache.camel.Expression |
createMethodParametersExpression(org.apache.camel.Expression[] parameterExpressions)
|
protected org.apache.camel.Expression |
createParameterUnmarshalExpression(Class clazz,
Method method,
Class parameterType,
Annotation[] parameterAnnotation)
Creates an expression for the given parameter type if the parameter can be mapped
automatically or null if the parameter cannot be mapped due to unsufficient
annotations or not fitting with the default type conventions. |
protected org.apache.camel.Expression |
createParameterUnmarshalExpressionForAnnotation(Class clazz,
Method method,
Class parameterType,
Annotation annotation)
|
Class |
getType()
|
void |
introspect()
|
protected void |
introspect(Class clazz)
|
protected MethodInfo |
introspect(Class clazz,
Method method)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BeanInfo
public BeanInfo(Class type,
MethodInvocationStrategy strategy)
getType
public Class getType()
introspect
public void introspect()
createInvocation
public org.aopalliance.intercept.MethodInvocation createInvocation(Method method,
Object pojo,
org.apache.camel.Exchange messageExchange)
throws org.apache.camel.RuntimeCamelException
- Throws:
org.apache.camel.RuntimeCamelException
createInvocation
public org.aopalliance.intercept.MethodInvocation createInvocation(Object pojo,
org.apache.camel.Exchange messageExchange)
throws org.apache.camel.RuntimeCamelException
- Throws:
org.apache.camel.RuntimeCamelException
introspect
protected void introspect(Class clazz)
introspect
protected MethodInfo introspect(Class clazz,
Method method)
createMethodParametersExpression
protected org.apache.camel.Expression createMethodParametersExpression(org.apache.camel.Expression[] parameterExpressions)
createParameterUnmarshalExpression
protected org.apache.camel.Expression createParameterUnmarshalExpression(Class clazz,
Method method,
Class parameterType,
Annotation[] parameterAnnotation)
- Creates an expression for the given parameter type if the parameter can be mapped
automatically or null if the parameter cannot be mapped due to unsufficient
annotations or not fitting with the default type conventions.
createParameterUnmarshalExpressionForAnnotation
protected org.apache.camel.Expression createParameterUnmarshalExpressionForAnnotation(Class clazz,
Method method,
Class parameterType,
Annotation annotation)
Copyright © 2007 Apache Software Foundation. All Rights Reserved.