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