org.apache.servicemix.bean.support
Class BeanInfo

java.lang.Object
  extended by org.apache.servicemix.bean.support.BeanInfo

public class BeanInfo
extends java.lang.Object

Represents the metadata about a bean type created via a combination of introspection and annotations together with some useful sensible defaults

Version:
$Revision: $

Constructor Summary
BeanInfo(java.lang.Class type, MethodInvocationStrategy strategy)
           
 
Method Summary
protected  org.apache.servicemix.expression.Expression createContentExpression(org.apache.servicemix.jbi.marshaler.PojoMarshaler marshaller)
           
 org.aopalliance.intercept.MethodInvocation createInvocation(java.lang.Object pojo, javax.jbi.messaging.MessageExchange messageExchange)
           
protected  org.apache.servicemix.expression.Expression createMethodParametersExpression(org.apache.servicemix.expression.Expression[] parameterExpressions)
           
protected  org.apache.servicemix.expression.Expression createParameterUnmarshalExpression(java.lang.Class clazz, java.lang.reflect.Method method, java.lang.Class parameterType, java.lang.annotation.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.servicemix.expression.Expression createParameterUnmarshalExpressionForAnnotation(java.lang.Class clazz, java.lang.reflect.Method method, java.lang.Class parameterType, java.lang.annotation.Annotation annotation)
           
 java.lang.Class getType()
           
 void introspect()
           
protected  void introspect(java.lang.Class clazz)
           
protected  void introspect(java.lang.Class clazz, java.lang.reflect.Method method)
           
protected  org.apache.servicemix.jbi.marshaler.PojoMarshaler newInstance(Content content)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BeanInfo

public BeanInfo(java.lang.Class type,
                MethodInvocationStrategy strategy)
Method Detail

getType

public java.lang.Class getType()

introspect

public void introspect()

createInvocation

public org.aopalliance.intercept.MethodInvocation createInvocation(java.lang.Object pojo,
                                                                   javax.jbi.messaging.MessageExchange messageExchange)
                                                            throws javax.jbi.messaging.MessagingException
Throws:
javax.jbi.messaging.MessagingException

introspect

protected void introspect(java.lang.Class clazz)

introspect

protected void introspect(java.lang.Class clazz,
                          java.lang.reflect.Method method)

createMethodParametersExpression

protected org.apache.servicemix.expression.Expression createMethodParametersExpression(org.apache.servicemix.expression.Expression[] parameterExpressions)

createParameterUnmarshalExpression

protected org.apache.servicemix.expression.Expression createParameterUnmarshalExpression(java.lang.Class clazz,
                                                                                         java.lang.reflect.Method method,
                                                                                         java.lang.Class parameterType,
                                                                                         java.lang.annotation.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.servicemix.expression.Expression createParameterUnmarshalExpressionForAnnotation(java.lang.Class clazz,
                                                                                                      java.lang.reflect.Method method,
                                                                                                      java.lang.Class parameterType,
                                                                                                      java.lang.annotation.Annotation annotation)

createContentExpression

protected org.apache.servicemix.expression.Expression createContentExpression(org.apache.servicemix.jbi.marshaler.PojoMarshaler marshaller)

newInstance

protected org.apache.servicemix.jbi.marshaler.PojoMarshaler newInstance(Content content)


Copyright © 2005-2011 FuseSource. All Rights Reserved.