public class MBody
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected MethodInfo |
abortedmethod
The aborted method cached for speed.
|
protected MethodInfo |
bodymethod
The body method cached for speed.
|
protected ClassInfo |
clazz
The body as seperate class.
|
protected java.lang.String |
component
The body as component type.
|
protected MethodInfo |
contextconditionmethod
The precondition method cached for speed.
|
protected MethodInfo |
failedmethod
The failed method cached for speed.
|
protected ClassInfo |
mapperclass
The parameter mapper.
|
protected MethodInfo |
method
The body as seperate class.
|
protected static MethodInfo |
MI_NOTFOUND |
protected MethodInfo |
passedmethod
The passed method cached for speed.
|
protected MethodInfo |
preconditionmethod
The precondition method cached for speed.
|
protected java.lang.String |
servicemethodname
The body as required service.
|
protected java.lang.String |
servicename
The body as required service.
|
Constructor and Description |
---|
MBody()
Bean Constructor.
|
MBody(MethodInfo method,
ClassInfo clazz,
java.lang.String servicename,
java.lang.String servicemethodname,
ClassInfo mapperclass,
java.lang.String component)
Create a new mbody.
|
Modifier and Type | Method and Description |
---|---|
MethodInfo |
getAbortedMethod(java.lang.ClassLoader cl) |
MethodInfo |
getBodyMethod(java.lang.ClassLoader cl) |
ClassInfo |
getClazz()
Get the clazz.
|
java.lang.String |
getComponent()
Get the component.
|
MethodInfo |
getContextConditionMethod(java.lang.ClassLoader cl) |
MethodInfo |
getFailedMethod(java.lang.ClassLoader cl) |
int |
getLineNumber(java.lang.ClassLoader cl)
Get the line number of the declaration.
|
ClassInfo |
getMapperClass()
Get the mapperclass.
|
MethodInfo |
getMethod()
Get the method.
|
static MethodInfo |
getMethod(java.lang.Class<?> body,
java.lang.Class<? extends java.lang.annotation.Annotation> type,
java.lang.ClassLoader cl) |
MethodInfo |
getPassedMethod(java.lang.ClassLoader cl) |
MethodInfo |
getPreconditionMethod(java.lang.ClassLoader cl) |
java.lang.String |
getServiceMethodName()
Get the servicemethodname.
|
java.lang.String |
getServiceName()
Get the servicename.
|
void |
setClazz(ClassInfo clazz)
Set the clazz.
|
void |
setComponent(java.lang.String component)
Set the component.
|
void |
setMapperclass(ClassInfo mapperclass)
Set the mapperclass.
|
void |
setMethod(MethodInfo method)
Set the method.
|
void |
setServiceMethodName(java.lang.String servicemethodname)
Set the servicemethodname.
|
void |
setServiceName(java.lang.String servicename)
Set the servicename.
|
protected static final MethodInfo MI_NOTFOUND
protected MethodInfo method
protected ClassInfo clazz
protected java.lang.String servicename
protected java.lang.String servicemethodname
protected ClassInfo mapperclass
protected java.lang.String component
protected volatile MethodInfo bodymethod
protected volatile MethodInfo passedmethod
protected volatile MethodInfo failedmethod
protected volatile MethodInfo abortedmethod
protected volatile MethodInfo preconditionmethod
protected volatile MethodInfo contextconditionmethod
public MBody()
public MBody(MethodInfo method, ClassInfo clazz, java.lang.String servicename, java.lang.String servicemethodname, ClassInfo mapperclass, java.lang.String component)
public MethodInfo getMethod()
public void setMethod(MethodInfo method)
method
- The method to set.public ClassInfo getClazz()
public void setClazz(ClassInfo clazz)
clazz
- The clazz to set.public java.lang.String getServiceName()
public void setServiceName(java.lang.String servicename)
servicename
- The servicename to set.public java.lang.String getServiceMethodName()
public void setServiceMethodName(java.lang.String servicemethodname)
servicemethodname
- The servicemethodname to set.public ClassInfo getMapperClass()
public void setMapperclass(ClassInfo mapperclass)
mapperclass
- The mapperclass to set.public java.lang.String getComponent()
public void setComponent(java.lang.String component)
component
- The component to set.public MethodInfo getBodyMethod(java.lang.ClassLoader cl)
public MethodInfo getPassedMethod(java.lang.ClassLoader cl)
public MethodInfo getFailedMethod(java.lang.ClassLoader cl)
public MethodInfo getAbortedMethod(java.lang.ClassLoader cl)
public MethodInfo getPreconditionMethod(java.lang.ClassLoader cl)
public MethodInfo getContextConditionMethod(java.lang.ClassLoader cl)
public static MethodInfo getMethod(java.lang.Class<?> body, java.lang.Class<? extends java.lang.annotation.Annotation> type, java.lang.ClassLoader cl)
public int getLineNumber(java.lang.ClassLoader cl)