|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.servicemix.bean.support.BeanInfo
public class BeanInfo
Represents the metadata about a bean type created via a combination of introspection and annotations together with some useful sensible defaults
| Constructor Summary | |
|---|---|
BeanInfo(Class type,
MethodInvocationStrategy strategy)
|
|
| Method Summary | |
|---|---|
protected Expression |
createContentExpression(PojoMarshaler marshaller)
|
org.aopalliance.intercept.MethodInvocation |
createInvocation(Object pojo,
MessageExchange messageExchange)
|
protected Expression |
createMethodParametersExpression(Expression[] parameterExpressions)
|
protected 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 Expression |
createParameterUnmarshalExpressionForAnnotation(Class clazz,
Method method,
Class parameterType,
Annotation annotation)
|
Class |
getType()
|
void |
introspect()
|
protected void |
introspect(Class clazz)
|
protected void |
introspect(Class clazz,
Method method)
|
protected PojoMarshaler |
newInstance(Content content)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BeanInfo(Class type,
MethodInvocationStrategy strategy)
| Method Detail |
|---|
public Class getType()
public void introspect()
public org.aopalliance.intercept.MethodInvocation createInvocation(Object pojo,
MessageExchange messageExchange)
throws MessagingException
MessagingExceptionprotected void introspect(Class clazz)
protected void introspect(Class clazz,
Method method)
protected Expression createMethodParametersExpression(Expression[] parameterExpressions)
protected Expression createParameterUnmarshalExpression(Class clazz,
Method method,
Class parameterType,
Annotation[] parameterAnnotation)
protected Expression createParameterUnmarshalExpressionForAnnotation(Class clazz,
Method method,
Class parameterType,
Annotation annotation)
protected Expression createContentExpression(PojoMarshaler marshaller)
protected PojoMarshaler newInstance(Content content)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||