Interface EndpointObjectNameFactory
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface EndpointObjectNameFactory
A factory to create anObjectName
for anEndpointMBean
.- Since:
- 2.0.0
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ObjectName
getObjectName(ExposableJmxEndpoint endpoint)
Generate anObjectName
for the specifiedendpoint
.
Method Detail
getObjectName
ObjectName getObjectName(ExposableJmxEndpoint endpoint) throws MalformedObjectNameException
Generate anObjectName
for the specifiedendpoint
.- Parameters:
endpoint
- the endpoint MBean to handle- Returns:
- the
ObjectName
to use for the endpoint - Throws:
MalformedObjectNameException
- if the object name is invalid