public interface IComponentFeature
Modifier and Type | Method and Description |
---|---|
IFuture<java.lang.Void> |
body()
Execute the main activity of the feature.
|
IParameterGuesser |
getParameterGuesser()
The feature can add objects for field or method injections
by providing an optional parameter guesser.
|
IValueFetcher |
getValueFetcher()
The feature can inject parameters for expression evaluation
by providing an optional value fetcher.
|
boolean |
hasUserBody()
Check if the feature potentially executed user code in body.
|
IFuture<java.lang.Void> |
init()
Initialize the feature.
|
void |
kill()
Kill is only invoked, when shutdown does not return due to timeout.
|
IFuture<java.lang.Void> |
shutdown()
Shutdown the feature.
|
IFuture<java.lang.Void> init()
IFuture<java.lang.Void> body()
IFuture<java.lang.Void> shutdown()
void kill()
IValueFetcher getValueFetcher()
IParameterGuesser getParameterGuesser()
boolean hasUserBody()