Fix build

`@ManagedResource` annotated bean must be public.
pull/5341/merge
Stephane Nicoll 9 years ago
parent 5473b1fcf4
commit f699bd2435

@ -175,7 +175,7 @@ public class EndpointMBeanExportAutoConfigurationTests {
@Component @Component
@ManagedResource @ManagedResource
protected static class ManagedEndpoint extends AbstractEndpoint<Boolean> { public static class ManagedEndpoint extends AbstractEndpoint<Boolean> {
public ManagedEndpoint() { public ManagedEndpoint() {
super("managed", true); super("managed", true);
@ -190,7 +190,7 @@ public class EndpointMBeanExportAutoConfigurationTests {
@Configuration @Configuration
@ManagedResource @ManagedResource
protected static class NestedInManagedEndpoint { public static class NestedInManagedEndpoint {
@Bean @Bean
public Endpoint<Boolean> nested() { public Endpoint<Boolean> nested() {

Loading…
Cancel
Save