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

Loading…
Cancel
Save