1 23 24 25 package com.sun.enterprise.admin.mbeans.custom; 26 import static com.sun.enterprise.admin.mbeans.custom.CustomMBeanConstants.*; 27 import java.util.*; 28 29 public class CMBStrings 30 { 31 private CMBStrings() 32 { 33 } 34 35 37 public static String get(String indexString) 38 { 39 return strings.get(indexString); 40 } 41 42 44 public static String get(String indexString, Object ... objects) 45 { 46 return strings.get(indexString, objects); 47 } 48 49 51 public static List<ResourceBundle> getBundles() 52 { 53 return strings.getBundles(); 55 } 56 57 59 private final static Strings strings = new Strings(CMB_LOG, CMB_LOCAL, CMB_EE_LOCAL, CMB_LOADING_LOCAL); 60 61 } | Popular Tags |