Hi,
I followed your instructions and it works!
For anyone interested my implementation of the config provider is:
@Override
public void register(ContainerBuilder builder, LocatableProperties props)
throws ConfigurationException {
builder.factory(Bean.class, new Factory() {
sob., 25 lut 2023 o 12:47 Bogoljub Pavičić
<276ee31...@proton.me.invalid> napisał(a):
>
> Hi,
>
> is it possible to produce beans using a factory method with struts2 default
> ioc container?
> I want to inject an ObjectMapper but I want to configure the bean before
> inserting it in the container
Hi,
is it possible to produce beans using a factory method with struts2 default ioc
container?
I want to inject an ObjectMapper but I want to configure the bean before
inserting it in the container (similar to spring's @Bean method inside a
@Configuration class)
@Bean
public ObjectMapper objec
3 matches
Mail list logo