public class MicroPojoComponentFeature
extends jadex.bridge.component.impl.AbstractComponentFeature
implements jadex.bridge.component.IPojoComponentFeature, jadex.commons.IValueFetcher
Modifier and Type | Field and Description |
---|---|
static jadex.bridge.component.IComponentFeatureFactory |
FACTORY
The factory.
|
protected jadex.commons.IParameterGuesser |
guesser
The parameter guesser (cached for speed).
|
protected java.lang.Object |
pojoagent
The pojo agent.
|
Constructor and Description |
---|
MicroPojoComponentFeature(jadex.bridge.IInternalAccess component,
jadex.bridge.component.ComponentCreationInfo cinfo)
Factory method constructor for instance level.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
fetchValue(java.lang.String name)
Add $pojoagent to fetcher.
|
jadex.commons.IParameterGuesser |
getParameterGuesser()
The feature can add objects for field or method injections
by providing an optional parameter guesser.
|
java.lang.Object |
getPojoAgent()
Get the pojoagent.
|
jadex.commons.IValueFetcher |
getValueFetcher()
The feature can inject parameters for expression evaluation
by providing an optional value fetcher.
|
public static final jadex.bridge.component.IComponentFeatureFactory FACTORY
protected java.lang.Object pojoagent
protected jadex.commons.IParameterGuesser guesser
public MicroPojoComponentFeature(jadex.bridge.IInternalAccess component, jadex.bridge.component.ComponentCreationInfo cinfo)
public java.lang.Object getPojoAgent()
getPojoAgent
in interface jadex.bridge.component.IPojoComponentFeature
public jadex.commons.IValueFetcher getValueFetcher()
getValueFetcher
in interface jadex.bridge.component.IComponentFeature
getValueFetcher
in class jadex.bridge.component.impl.AbstractComponentFeature
public java.lang.Object fetchValue(java.lang.String name)
fetchValue
in interface jadex.commons.IValueFetcher
public jadex.commons.IParameterGuesser getParameterGuesser()
getParameterGuesser
in interface jadex.bridge.component.IComponentFeature
getParameterGuesser
in class jadex.bridge.component.impl.AbstractComponentFeature