class LocalizationBundleJaxrsService {

    @Resource(name = "bundlePathsList")
    public void setBundleNames(List<String> bundlePathsList) {
        bundleNames = new ArrayList<String>(bundlePathsList.size());
        for (String bundlePath : bundlePathsList) {
            bundleNames.add(bundlePath.substring(bundlePath.lastIndexOf(Folder.SEPARATOR) + Folder.SEPARATOR_LENGTH));
        }
    }

}