Interface DiscoveredEndpoint<O extends Operation>

Type Parameters:
O - the operation type
All Superinterfaces:
ExposableEndpoint<O>
All Known Implementing Classes:
AbstractDiscoveredEndpoint

public interface DiscoveredEndpoint<O extends Operation> extends ExposableEndpoint<O>
An endpoint discovered by an EndpointDiscoverer.
Since:
2.0.0
Author:
Phillip Webb
  • Method Details

    • wasDiscoveredBy

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

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