Just to clarify I was trying to extract string from my resource bundle and insert it into the managed bean directly. The solution that I came up with is probably not the most elegant and any improvements would be very welcome.
public static String getResourceBundleString(String resourceBundleName, String resourceBundleKey) throws MissingResourceException {
FacesContext facesContext = FacesContext.getCurrentInstance();
ResourceBundle bundle = facesContext.getApplication().getResourceBundle(facesContext, resourceBundleName);
return bundle.getString(resourceBundleKey);
}
You can then reference the method with the name of your bundle as set in your faces-config.xml file and the name of the key for the specific string.