MCPcopy
hub / github.com/vipshop/vjtools / getObjectName

Method getObjectName

vjmxcli/src/main/java/com/vip/vjtools/jmx/Client.java:345–348  ·  view source on GitHub ↗
(final String beanname)

Source from the content-addressed store, hash-verified

343 }
344
345 public static ObjectName getObjectName(final String beanname)
346 throws MalformedObjectNameException, NullPointerException {
347 return notEmpty(beanname) ? new ObjectName(beanname) : null;
348 }
349
350 public static boolean notEmpty(String s) {
351 return s != null && s.length() > 0;

Callers 9

getJavaVersionMethod · 0.95
mappingCollctorsMethod · 0.95
mappingPoolsMethod · 0.95
executeMethod · 0.95
doBeansMethod · 0.80
doSubCommandMethod · 0.80
doAttributeOperationMethod · 0.80
doBeanOperationMethod · 0.80
listOptionsMethod · 0.80

Calls 1

notEmptyMethod · 0.95

Tested by

no test coverage detected