|
Groovy 1.7.2 | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgroovy.jmx.builder.JmxBuilderTools
public class JmxBuilderTools extends Object
This is a utility class used as a helper for JmxBuilder.
Method Summary | |
---|---|
static String
|
capitalize(String value)
Capitalize the string passed. |
static ObjectName
|
getDefaultObjectName(def obj)
Builds a default ObjectName() instance for a given backing POJO/POGO |
static MBeanServerConnection
|
getMBeanServer()
Returns an MBeanServerConnection instance. |
static String
|
getNormalizedType(String type)
Returns the proper type's class name when a short version is provided (i.e. |
static Class[]
|
getSignatureFromParamInfo(def params)
Returns method signature (as Class[]) given the meta map that describes the method. |
static boolean
|
isClassMBean(Class cls)
Tests whether the provided class implements MBean. |
static GroovyMBean
|
registerMBeanFromMap(String regPolicy, Map metaMap)
|
static String
|
uncapitalize(String value)
Uncapitalizes a string. |
Methods inherited from class Object | |
---|---|
wait, wait, wait, hashCode, getClass, equals, toString, notify, notifyAll |
Method Detail |
---|
public static String capitalize(String value)
public static ObjectName getDefaultObjectName(def obj)
public static MBeanServerConnection getMBeanServer()
public static String getNormalizedType(String type)
public static Class[] getSignatureFromParamInfo(def params)
public static boolean isClassMBean(Class cls)
if( DyanamicMBean.class.isAssignable(cls) || cls.getName().endsWith("MBean") || cls.getName().endsWith("MXBean") ) then class is MBean
public static GroovyMBean registerMBeanFromMap(String regPolicy, Map metaMap)
public static String uncapitalize(String value)
Copyright © 2003-2010 The Codehaus. All rights reserved.