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
-
Method Summary
Modifier and TypeMethodDescriptiongetCustomDataProvider
(String customDataProviderName) provide theCustomDataProvider
which are available in the application.void
setCustomDataProviders
(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:CustomDataProviderService
provide theCustomDataProvider
which are available in the application. Note that this method will remove the String "custom:" itself. If it finds noCustomDataProvider
with the given name, it will throw aRuntimeException
.- Specified by:
getCustomDataProvider
in interfaceCustomDataProviderService
- Parameters:
customDataProviderName
- the name of theCustomDataProvider
that should be returned- Returns:
- an instance of a
CustomDataProvider
-