Annotation Interface JmxEndpoint
@Target(TYPE)
@Retention(RUNTIME)
@Documented
@Endpoint
@FilteredEndpoint(org.springframework.boot.actuate.endpoint.jmx.annotation.JmxEndpointFilter.class)
public @interface JmxEndpoint
Identifies a type as being an endpoint that is only exposed over JMX.
- Since:
- 2.0.0
- Author:
- Stephane Nicoll, Phillip Webb
-
Optional Element Summary
Modifier and TypeOptional ElementDescriptionLevel of access to the endpoint that is permitted by default.boolean
Deprecated, for removal: This API element is subject to removal in a future version.since 3.4.0 for removal in 3.6.0 in favor ofThe id of the endpoint.
-
Element Details
-
id
The id of the endpoint.- Returns:
- the id
- Default:
- ""
-
enableByDefault
@Deprecated(since="3.4.0", forRemoval=true) @AliasFor(annotation=Endpoint.class) boolean enableByDefaultDeprecated, for removal: This API element is subject to removal in a future version.since 3.4.0 for removal in 3.6.0 in favor ofIf the endpoint should be enabled or disabled by default.- Returns:
true
if the endpoint is enabled by default
- Default:
- true
-
defaultAccess
Level of access to the endpoint that is permitted by default.- Returns:
- the default level of access
- Since:
- 3.4.0
- Default:
- UNRESTRICTED
-