Interface ParameterServiceProvider
- All Known Implementing Classes:
Parameter.ParameterService
,Parameter.ServerParameterService
public interface ParameterServiceProvider
Implementation of this service is used by any Parameter implementation
to overcome the inheritance of static methods.
-
Method Summary
Modifier and TypeMethodDescriptionA map of supported Parameter Annotations.Parameter.ParamCreationFactory<? extends Parameter>
Get a factory to be used to instantiate theParameter
-
Method Details
-
getParameterAnnotationHelperMap
Map<Class,Parameter.ParamAnnotationHelper> getParameterAnnotationHelperMap()A map of supported Parameter Annotations. The maps from each foundParameterServiceProvider
are combined to provide a list of Parameter Annotations for the givenParameter
.- Returns:
- A map of subset of Parameter Annotations known to the ParameterServiceProvider
-
getParameterCreationFactory
Parameter.ParamCreationFactory<? extends Parameter> getParameterCreationFactory()Get a factory to be used to instantiate theParameter
- Returns:
Parameter
instantiating factory
-