private static ResourceBundle getResourceBundle(String address) {
		
		if (address == null) {
			return null;
		}
		
		if (address.startsWith("/jbossesb/globals")) {
			 return ResourceBundle.getBundle("org.jboss.jbossesb.eclipse.plugin.model.globals");
		} else if (address.startsWith("/jbossesb/services/service")) {
			
			// listeners
			if (address.contains("listeners/")) {				
				String[] temp = address.split("/");
				return ResourceBundle.getBundle("org.jboss.jbossesb.eclipse.plugin.model." + temp[5]);
			} else {
				return ResourceBundle.getBundle("org.jboss.jbossesb.eclipse.plugin.model.service");
			}
		} else if (address.startsWith("/jbossesb/providers/")) {
			String[] temp = address.split("/");
			return ResourceBundle.getBundle("org.jboss.jbossesb.eclipse.plugin.model." + temp[3]);
		} else {
			return ResourceBundle.getBundle("org.jboss.jbossesb.eclipse.plugin.model.jbossesb");
		}
	}