Package jadex.bridge.component
Interface IComponentFeature
- 
- All Known Implementing Classes:
- jadex.bridge.component.impl.AbstractComponentFeature,- jadex.bridge.component.impl.ArgumentsResultsComponentFeature,- BDIXAgentFeature,- BDIXArgumentsResultsComponentFeature,- BDIXLifecycleAgentFeature,- BDIXMessageComponentFeature,- jadex.bridge.component.impl.ComponentLifecycleFeature,- jadex.bridge.component.impl.MessageComponentFeature,- jadex.micro.features.impl.MicroMessageComponentFeature,- ProvidedServicesComponentFeature,- RelayMessageComponentFeature,- RequiredServicesComponentFeature
 
 public interface IComponentFeatureA component feature is a pluggable part of the state and behavior of a component. This interface represents the internal view of the instance level of a feature.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description IFuture<java.lang.Void>body()Execute the main activity of the feature.IParameterGuessergetParameterGuesser()The feature can add objects for field or method injections by providing an optional parameter guesser.IValueFetchergetValueFetcher()The feature can inject parameters for expression evaluation by providing an optional value fetcher.booleanhasUserBody()Check if the feature potentially executed user code in body.IFuture<java.lang.Void>init()Initialize the feature.voidkill()Kill is only invoked, when shutdown does not return due to timeout.IFuture<java.lang.Void>shutdown()Shutdown the feature.
 
- 
- 
- 
Method Detail- 
initIFuture<java.lang.Void> init() Initialize the feature.
 - 
bodyIFuture<java.lang.Void> body() Execute the main activity of the feature.
 - 
shutdownIFuture<java.lang.Void> shutdown() Shutdown the feature.
 - 
killvoid kill() Kill is only invoked, when shutdown does not return due to timeout. The feature should do any kind of possible cleanup, but no asynchronous operations.
 - 
getValueFetcherIValueFetcher getValueFetcher() The feature can inject parameters for expression evaluation by providing an optional value fetcher. The fetch order is the reverse init order, i.e., later features can override values from earlier features.
 - 
getParameterGuesserIParameterGuesser getParameterGuesser() The feature can add objects for field or method injections by providing an optional parameter guesser. The selection order is the reverse init order, i.e., later features can override values from earlier features.
 - 
hasUserBodyboolean hasUserBody() Check if the feature potentially executed user code in body. Allows blocking operations in user bodies by using separate steps for each feature. Non-user-body-features are directly executed for speed. If unsure just return true. ;-)
 
- 
 
-