private MBeanCompositeConfig makeComposite ( CompositeType compositeType , String name ) { MBeanCompositeConfig config = new MBeanCompositeConfig ( ) ; config . addField ( "name" , name ) ; String rawType = compositeType . getType ( name ) . toString ( ) ; config . addField ( "type" , translateDataType ( rawType ) ) ; return config ; }
Makes a configuration for JMXetric that represents the composite tag