This is a utility class used as a helper for JmxBuilder.
| Type Params | Return Type | Name and description | 
|---|---|---|
 | 
                            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.  | 
                        
Capitalize the string passed.
value -  - string to capitalize.Builds a default ObjectName() instance for a given backing POJO/POGO
obj -  - the backing pojo/pogoReturns an MBeanServerConnection instance. It searches for declared MBeanServers from the MBeanServerFactory. If none is found, the default Platform MBeanServer is returned.
Returns the proper type's class name when a short version is provided (i.e. String returns java.lang.String)
type -  - the type name to normalizeReturns method signature (as Class[]) given the meta map that describes the method.
params -  - the map with parameter info.Tests whether the provided class implements MBean. It uses the following runes
 if(
     DynamicMBean.class.isAssignable(cls) ||
     cls.getName().endsWith("MBean") ||
     cls.getName().endsWith("MXBean")
 ) then class is MBean
 
     cls -  - class to test