Interface JmxEndpoint
- All Known Implementing Classes:
AbstractJmxEndpoint
,AuditEventsJmxEndpoint
,DataEndpointMBean
,EndpointMBean
,LoggersEndpointMBean
,ShutdownEndpointMBean
public interface JmxEndpoint
A strategy for the JMX layer on top of anEndpoint
. Implementations are allowed to use@ManagedAttribute
and the full Spring JMX machinery but should not use the@ManagedResource
annotation. Implementations may be backed by an actualEndpoint
or may be specifically designed for JMX only.- Since:
- 1.5.0
- See Also:
EndpointMBean
,AbstractJmxEndpoint
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Class<? extends Endpoint>
getEndpointType()
Return the type ofEndpoint
exposed, ornull
if thisJmxEndpoint
exposes information that cannot be represented as a traditionalEndpoint
.String
getIdentity()
Return the MBean identity for this endpoint.boolean
isEnabled()
Return if the JMX endpoint is enabled.
Method Detail
isEnabled
boolean isEnabled()
Return if the JMX endpoint is enabled.- Returns:
- if the endpoint is enabled
getIdentity
String getIdentity()
Return the MBean identity for this endpoint.- Returns:
- the MBean identity.
getEndpointType
Class<? extends Endpoint> getEndpointType()
Return the type ofEndpoint
exposed, ornull
if thisJmxEndpoint
exposes information that cannot be represented as a traditionalEndpoint
.- Returns:
- the endpoint type