public class MicroModel
extends jadex.kernelbase.CacheableKernelModel
Constructor and Description |
---|
MicroModel(IModelInfo modelinfo)
Create a new model.
|
Modifier and Type | Method and Description |
---|---|
void |
addAgentInjection(FieldInfo field)
Add an injection field.
|
void |
addArgumentInjection(String name,
FieldInfo field,
String convert)
Add an injection field.
|
void |
addParentInjection(FieldInfo field)
Add an injection field.
|
void |
addResultInjection(String name,
FieldInfo field,
String convert,
String convback)
Add an injection field.
|
void |
addServiceInjection(String name,
FieldInfo field)
Add an injection field.
|
void |
addServiceInjection(String name,
MethodInfo method)
Add an injection field.
|
FieldInfo[] |
getAgentInjections()
Get the agent injection fields.
|
String[] |
getArgumentInjectionNames()
Get the argument injection names.
|
Tuple2<FieldInfo,String>[] |
getArgumentInjections(String name)
Get the argument injection fields.
|
Method |
getBreakpointMethod()
Get the breakpoint method.
|
ClassLoader |
getClassloader()
Get the classloader.
|
FieldInfo[] |
getParentInjections()
Get the parentinjections fields.
|
Tuple3<FieldInfo,String,String> |
getResultInjection(String name)
Get the result injection field.
|
String[] |
getResultInjectionNames()
Get the Result injection names.
|
String[] |
getServiceInjectionNames()
Get the service injection names.
|
Object[] |
getServiceInjections(String name)
Get the service injection fields.
|
void |
setBreakpointMethod(Method breakpointMethod)
Set the breakpoint method.
|
void |
setClassloader(ClassLoader classloader)
Set the classloader.
|
public MicroModel(IModelInfo modelinfo)
public void addAgentInjection(FieldInfo field)
field
- The field.public FieldInfo[] getAgentInjections()
public void addParentInjection(FieldInfo field)
field
- The field.public FieldInfo[] getParentInjections()
public void addArgumentInjection(String name, FieldInfo field, String convert)
name
- The name.field
- The field.public Tuple2<FieldInfo,String>[] getArgumentInjections(String name)
public String[] getArgumentInjectionNames()
public void addResultInjection(String name, FieldInfo field, String convert, String convback)
name
- The name.field
- The field.public Tuple3<FieldInfo,String,String> getResultInjection(String name)
public String[] getResultInjectionNames()
public void addServiceInjection(String name, FieldInfo field)
name
- The name.field
- The field.public void addServiceInjection(String name, MethodInfo method)
name
- The name.method
- The method.public Object[] getServiceInjections(String name)
public String[] getServiceInjectionNames()
public Method getBreakpointMethod()
public void setBreakpointMethod(Method breakpointMethod)
breakpoint
- method The breakpoint method to set.public ClassLoader getClassloader()
public void setClassloader(ClassLoader classloader)
classloader
- The classloader to set.Copyright © 2013. All Rights Reserved.