boolean retval = false; if (!availablehardcatokens.contains(classpath)) { try { log.debug("HardCATokenManager registering " + classpath);  Class.forName(classpath).getName();  availablehardcatokens.put(classpath, new AvailableHardCAToken(classpath, name, translateable, use)); retval = true; log.debug("Registered " + classpath + "Successfully."); } catch (ClassNotFoundException e) { log.error("Error registering " + classpath + " couldn't find classpath"); } } return retval;
boolean retval = false; if (!availablehardcatokens.contains(classpath)) { log.debug("HardCATokenManager registering " + classpath); if (loadClass(classpath)) {  availablehardcatokens.put(classpath, new AvailableHardCAToken(classpath, name, translateable, use)); retval = true; log.debug("Registered " + classpath + "Successfully."); } else { log.error("Error registering " + classpath + " couldn't find classpath"); } } return retval;
	public synchronized boolean addAvailableHardCAToken(String classpath, String name, boolean translateable, boolean use) {		boolean retval = false;	        if (!availablehardcatokens.contains(classpath)) {            try {                                log.debug("HardCATokenManager registering " + classpath);                                   // Check that class exists                      Class.forName(classpath).getName();                     // Add to the available tokens                   availablehardcatokens.put(classpath, new AvailableHardCAToken(classpath, name, translateable, use));                            retval = true;                   log.debug("Registered " + classpath + "Successfully.");                } catch (ClassNotFoundException e) {                   log.error("Error registering " + classpath + " couldn't find classpath");                }                    }		return retval;	}