Interface SignServiceFactory
- All Known Implementing Classes:
DefaultSignServiceFactory
public interface SignServiceFactory
The
SignServiceFactory
is responsible of setting up the required instances (beans) needed for a SignService
application.-
Method Summary
Modifier and TypeMethodDescriptioncreateSignServiceEngineManager
(SignServiceConfigurationProperties configuration, BeanLoader beanLoader, BeanRegistrator beanRegistrator) Creates aSignServiceEngineManager
based on the supplied configuration.
-
Method Details
-
createSignServiceEngineManager
@Nonnull SignServiceEngineManager createSignServiceEngineManager(@Nonnull SignServiceConfigurationProperties configuration, @Nullable BeanLoader beanLoader, @Nullable BeanRegistrator beanRegistrator) throws Exception Creates aSignServiceEngineManager
based on the supplied configuration.- Parameters:
configuration
- the SignService configurationbeanLoader
- the bean loader. If not supplied and the configuration contains bean references the method will failbeanRegistrator
- a bean registration callback (optional)- Returns:
- a SignServiceEngineManager instance
- Throws:
Exception
- if the configuration is incorrect and a SignServiceEngineManager can not be created
-