public class DubboMvcEndpoint
extends org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter
implements org.springframework.context.ApplicationContextAware, org.springframework.context.EnvironmentAware
MvcEndpoint to expose Dubbo MetadataMvcEndpoint| 构造器和说明 |
|---|
DubboMvcEndpoint(DubboEndpoint dubboEndpoint) |
| 限定符和类型 | 方法和说明 |
|---|---|
Map<String,Map<String,Map<String,Object>>> |
configs() |
SortedMap<String,Object> |
properties() |
Map<String,Map<String,Object>> |
references() |
Map<String,Map<String,Object>> |
services() |
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
void |
setEnvironment(org.springframework.core.env.Environment environment) |
org.springframework.web.context.request.async.DeferredResult |
shutdown() |
public DubboMvcEndpoint(DubboEndpoint dubboEndpoint)
@RequestMapping(value="/shutdown",
method=POST,
produces="application/json")
@ResponseBody
public org.springframework.web.context.request.async.DeferredResult shutdown()
throws Exception
Exception@RequestMapping(value="/configs",
method=GET,
produces="application/json")
@ResponseBody
public Map<String,Map<String,Map<String,Object>>> configs()
@RequestMapping(value="/services",
method=GET,
produces="application/json")
@ResponseBody
public Map<String,Map<String,Object>> services()
@RequestMapping(value="/references",
method=GET,
produces="application/json")
@ResponseBody
public Map<String,Map<String,Object>> references()
@RequestMapping(value="/properties",
method=GET,
produces="application/json")
@ResponseBody
public SortedMap<String,Object> properties()
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
throws org.springframework.beans.BeansException
setApplicationContext 在接口中 org.springframework.context.ApplicationContextAwareorg.springframework.beans.BeansExceptionpublic void setEnvironment(org.springframework.core.env.Environment environment)
setEnvironment 在接口中 org.springframework.context.EnvironmentAwareCopyright © 2018 The Apache Software Foundation. All rights reserved.