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(Field field)
Add an injection field.
|
void |
addArgumentInjection(String name,
Field field,
String convert)
Add an injection field.
|
void |
addResultInjection(String name,
Field field,
String convert,
String convback)
Add an injection field.
|
void |
addServiceInjection(String name,
Field field)
Add an injection field.
|
Field[] |
getAgentInjections()
Get the agent injection fields.
|
String[] |
getArgumentInjectionNames()
Get the argument injection names.
|
Tuple2<Field,String>[] |
getArgumentInjections(String name)
Get the argument injection fields.
|
ClassLoader |
getClassloader()
Get the classloader.
|
Tuple3<Field,String,String> |
getResultInjection(String name)
Get the result injection field.
|
String[] |
getResultInjectionNames()
Get the Result injection names.
|
String[] |
getServiceInjectionNames()
Get the service injection names.
|
Field[] |
getServiceInjections(String name)
Get the service injection fields.
|
void |
setClassloader(ClassLoader classloader)
Set the classloader.
|
public MicroModel(IModelInfo modelinfo)
public void addAgentInjection(Field field)
field
- The field.public Field[] getAgentInjections()
public void addArgumentInjection(String name, Field field, String convert)
name
- The name.field
- The field.public Tuple2<Field,String>[] getArgumentInjections(String name)
public String[] getArgumentInjectionNames()
public void addResultInjection(String name, Field field, String convert, String convback)
name
- The name.field
- The field.public Tuple3<Field,String,String> getResultInjection(String name)
public String[] getResultInjectionNames()
public void addServiceInjection(String name, Field field)
name
- The name.field
- The field.public Field[] getServiceInjections(String name)
public String[] getServiceInjectionNames()
public ClassLoader getClassloader()
public void setClassloader(ClassLoader classloader)
classloader
- The classloader to set.Copyright © 2012. All Rights Reserved.