Fix build

`@ManagedResource` annotated bean must be public.
This commit is contained in:
Stephane Nicoll
2016-03-17 11:50:48 +01:00
parent 5473b1fcf4
commit f699bd2435

View File

@@ -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() {