Remove BeansEndpoint.BeansEndpointResponse
Closes gh-10495
This commit is contained in:
parent
4e87f8163e
commit
454e8eaf71
|
|
@ -17,7 +17,6 @@
|
|||
package org.springframework.boot.actuate.beans;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import org.springframework.beans.factory.config.BeanDefinition;
|
||||
|
|
@ -58,24 +57,6 @@ public class BeansEndpoint {
|
|||
return ApplicationContextDescriptor.describing(this.context);
|
||||
}
|
||||
|
||||
/**
|
||||
* Response produced by the {@link BeansEndpoint}, primarily intended for
|
||||
* serialization to JSON.
|
||||
*/
|
||||
public static class BeansEndpointResponse {
|
||||
|
||||
private List<ApplicationContextDescriptor> contexts;
|
||||
|
||||
public BeansEndpointResponse(List<ApplicationContextDescriptor> contexts) {
|
||||
this.contexts = contexts;
|
||||
}
|
||||
|
||||
public List<ApplicationContextDescriptor> getContexts() {
|
||||
return this.contexts;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* A description of an application context, primarily intended for serialization to
|
||||
* JSON.
|
||||
|
|
|
|||
Loading…
Reference in New Issue