@Configuration @ConditionalOnClass(value=org.glassfish.jersey.server.ResourceConfig.class) @AutoConfigureBefore(value=org.springframework.boot.autoconfigure.jersey.JerseyAutoConfiguration.class) @EnableConfigurationProperties(value=JerseyConfigurationProperties.class) public class JerseyServerAutoConfiguration extends Object
If a ResourceConfig type bean is not already defined, a standard ResourceConfig bean is automatically
registered.
Any bean annotated with Path or Provider is detected and automatically registered as a JAX-RS
resource. To disable automatic resource scan and registration, the holon.jersey.bean-scan configuration
property with a false value can be used.
Note that Provider annotated bean must be singleton scoped.
Copyright © 2019 The Holon Platform. All rights reserved.