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.
A factory to create an
ObjectName
for an EndpointMBean
.- Since:
- 2.0.0
- Author:
- Stephane Nicoll
-
Method Summary
Modifier and TypeMethodDescriptiongetObjectName
(ExposableJmxEndpoint endpoint) Generate anObjectName
for the specifiedendpoint
.
-
Method Details
-
getObjectName
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
-