@Target(value=TYPE)
@Retention(value=RUNTIME)
@Documented
public @interface Endpoint
Most @Endpoint classes will declare one or more
@ReadOperation, @WriteOperation,
@DeleteOperation annotated methods which will be automatically
adapted to the exposing technology (JMX, Spring MVC, Spring WebFlux, Jersey etc.).
@Endpoint represents the lowest common denominator for endpoints and
intentionally limits the sorts of operation methods that may be defined in order to
support the broadest possible range of exposure technologies. If you need deeper
support for a specific technology you can either write an endpoint that is
filtered to a certain technology, or provide
extension for the broader endpoint.
EndpointExtension,
FilteredEndpoint,
EndpointDiscoverer| 限定符和类型 | 可选元素和说明 |
|---|---|
boolean |
enableByDefault
If the endpoint should be enabled or disabled by default.
|
java.lang.String |
id
The id of the endpoint (must follow
EndpointId rules). |
public abstract java.lang.String id
EndpointId rules).EndpointId