Package ch.tocco.nice2.netui.impl.bind
Class CustomDataProviderServiceImpl
java.lang.Object
ch.tocco.nice2.netui.impl.bind.CustomDataProviderServiceImpl
- All Implemented Interfaces:
CustomDataProviderService
@Component
public class CustomDataProviderServiceImpl
extends Object
implements CustomDataProviderService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetCustomDataProvider(String customDataProviderName) provide theCustomDataProviderwhich are available in the application.voidsetCustomDataProviders(List<CustomDataProviderContribution> customDataProviders)
-
Constructor Details
-
CustomDataProviderServiceImpl
public CustomDataProviderServiceImpl()
-
-
Method Details
-
setCustomDataProviders
@Autowired(required=false) public void setCustomDataProviders(List<CustomDataProviderContribution> customDataProviders) -
getCustomDataProvider
Description copied from interface:CustomDataProviderServiceprovide theCustomDataProviderwhich are available in the application. Note that this method will remove the String "custom:" itself. If it finds noCustomDataProviderwith the given name, it will throw aRuntimeException.- Specified by:
getCustomDataProviderin interfaceCustomDataProviderService- Parameters:
customDataProviderName- the name of theCustomDataProviderthat should be returned- Returns:
- an instance of a
CustomDataProvider
-