Class SpringBeanRegistrator
java.lang.Object
se.swedenconnect.signservice.config.spring.SpringBeanRegistrator
- All Implemented Interfaces:
BeanRegistrator
A simple bean registrator for Spring.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
SpringBeanRegistrator
Constructor.- Parameters:
context
- the Spring application context
-
-
Method Details
-
registerBean
public <T> void registerBean(@Nonnull String beanName, @Nonnull Class<T> type, @Nonnull T bean) throws Exception - Specified by:
registerBean
in interfaceBeanRegistrator
- Throws:
Exception
-