接口 DiscoveredEndpoint<O extends Operation>

类型参数:
O - the operation type
所有超级接口:
ExposableEndpoint<O>
所有已知实现类:
AbstractDiscoveredEndpoint

public interface DiscoveredEndpoint<O extends Operation> extends ExposableEndpoint<O>
An endpoint discovered by an EndpointDiscoverer.
从以下版本开始:
2.0.0
作者:
Phillip Webb
  • 方法详细资料

    • wasDiscoveredBy

      boolean wasDiscoveredBy(Class<? extends EndpointDiscoverer<?,?>> discoverer)
      Return true if the endpoint was discovered by the specified discoverer.
      参数:
      discoverer - the discoverer type
      返回:
      true if discovered using the specified discoverer
    • getEndpointBean

      Object getEndpointBean()
      Return the source bean that was used to construct the DiscoveredEndpoint.
      返回:
      the source endpoint bean