@Override public final void addValidator(final String validatorId, final String validatorClass) { checkNull(validatorId, "validatorId"); checkEmpty(validatorId, "validatorId"); checkNull(validatorClass, "validatorClass"); checkEmpty(validatorClass, "validatorClass"); try { if(isLazyLoadConfigObjects()) _validatorClassMap.put(validatorId, validatorClass); else _validatorClassMap.put(validatorId, ClassUtils.simpleClassForName(validatorClass)); if (log.isLoggable(Level.FINEST)) log.finest("add Validator id = " + validatorId + " class = " + validatorClass); } catch (Exception e) { log.log(Level.SEVERE, "Validator class " + validatorClass + " not found", e); } }
@Override public final void addComponent(final String componentType, final String componentClassName) { checkNull(componentType, "componentType"); checkEmpty(componentType, "componentType"); checkNull(componentClassName, "componentClassName"); checkEmpty(componentClassName, "componentClassName"); try { if(isLazyLoadConfigObjects()) _componentClassMap.put(componentType, componentClassName); else _componentClassMap.put(componentType, ClassUtils.simpleClassForName(componentClassName)); if (log.isLoggable(Level.FINEST)) log.finest("add Component class = " + componentClassName + " for type = " + componentType); } catch (Exception e) { log.log(Level.SEVERE, "Component class " + componentClassName + " not found", e); } }
@Override public final void addConverter(final String converterId, final String converterClass) { checkNull(converterId, "converterId"); checkEmpty(converterId, "converterId"); checkNull(converterClass, "converterClass"); checkEmpty(converterClass, "converterClass"); try { if(isLazyLoadConfigObjects()) _converterIdToClassMap.put(converterId, converterClass); else _converterIdToClassMap.put(converterId, ClassUtils.simpleClassForName(converterClass)); if (log.isLoggable(Level.FINEST)) log.finest("add Converter id = " + converterId + " converterClass = " + converterClass); } catch (Exception e) { log.log(Level.SEVERE, "Converter class " + converterClass + " not found", e); } }
@Override public final void addConverter(final Class<?> targetClass, final String converterClass) { checkNull(targetClass, "targetClass"); checkNull(converterClass, "converterClass"); checkEmpty(converterClass, "converterClass"); try { if(isLazyLoadConfigObjects()) { _converterTargetClassToConverterClassMap.put(targetClass, converterClass); } else { _converterTargetClassToConverterClassMap.put(targetClass, ClassUtils.simpleClassForName(converterClass)); } if (log.isLoggable(Level.FINEST)) { log.finest("add Converter for class = " + targetClass + " converterClass = " + converterClass); } } catch (Exception e) { log.log(Level.SEVERE, "Converter class " + converterClass + " not found", e); } }
@Override public void addBehavior(String behaviorId, String behaviorClass) { checkNull(behaviorId, "behaviorId"); checkEmpty(behaviorId, "behaviorId"); checkNull(behaviorClass, "behaviorClass"); checkEmpty(behaviorClass, "behaviorClass"); try { if(isLazyLoadConfigObjects()) _behaviorClassMap.put(behaviorId, behaviorClass); else _behaviorClassMap.put(behaviorId, ClassUtils.simpleClassForName(behaviorClass)); if (log.isLoggable(Level.FINEST)) log.finest("add Behavior class = " + behaviorClass + " for id = " + behaviorId); } catch (Exception e) { log.log(Level.SEVERE, "Behavior class " + behaviorClass + " not found", e); } }
@Override public final void addValidator(final String validatorId, final String validatorClass) { checkNull(validatorId, "validatorId"); checkEmpty(validatorId, "validatorId"); checkNull(validatorClass, "validatorClass"); checkEmpty(validatorClass, "validatorClass"); try { if(isLazyLoadConfigObjects()) _validatorClassMap.put(validatorId, validatorClass); else _validatorClassMap.put(validatorId, ClassUtils.simpleClassForName(validatorClass)); if (log.isLoggable(Level.FINEST)) log.finest("add Validator id = " + validatorId + " class = " + validatorClass); } catch (Exception e) { log.log(Level.SEVERE, "Validator class " + validatorClass + " not found", e); } }
@Override public final void addConverter(final String converterId, final String converterClass) { checkNull(converterId, "converterId"); checkEmpty(converterId, "converterId"); checkNull(converterClass, "converterClass"); checkEmpty(converterClass, "converterClass"); try { if(isLazyLoadConfigObjects()) _converterIdToClassMap.put(converterId, converterClass); else _converterIdToClassMap.put(converterId, ClassUtils.simpleClassForName(converterClass)); if (log.isLoggable(Level.FINEST)) log.finest("add Converter id = " + converterId + " converterClass = " + converterClass); } catch (Exception e) { log.log(Level.SEVERE, "Converter class " + converterClass + " not found", e); } }
@Override public void addBehavior(String behaviorId, String behaviorClass) { checkNull(behaviorId, "behaviorId"); checkEmpty(behaviorId, "behaviorId"); checkNull(behaviorClass, "behaviorClass"); checkEmpty(behaviorClass, "behaviorClass"); try { if(isLazyLoadConfigObjects()) _behaviorClassMap.put(behaviorId, behaviorClass); else _behaviorClassMap.put(behaviorId, ClassUtils.simpleClassForName(behaviorClass)); if (log.isLoggable(Level.FINEST)) log.finest("add Behavior class = " + behaviorClass + " for id = " + behaviorId); } catch (Exception e) { log.log(Level.SEVERE, "Behavior class " + behaviorClass + " not found", e); } }
@Override public final void addComponent(final String componentType, final String componentClassName) { checkNull(componentType, "componentType"); checkEmpty(componentType, "componentType"); checkNull(componentClassName, "componentClassName"); checkEmpty(componentClassName, "componentClassName"); try { if(isLazyLoadConfigObjects()) _componentClassMap.put(componentType, componentClassName); else _componentClassMap.put(componentType, ClassUtils.simpleClassForName(componentClassName)); if (log.isLoggable(Level.FINEST)) log.finest("add Component class = " + componentClassName + " for type = " + componentType); } catch (Exception e) { log.log(Level.SEVERE, "Component class " + componentClassName + " not found", e); } }
@Override public void addBehavior(String behaviorId, String behaviorClass) { checkNull(behaviorId, "behaviorId"); checkEmpty(behaviorId, "behaviorId"); checkNull(behaviorClass, "behaviorClass"); checkEmpty(behaviorClass, "behaviorClass"); try { if(isLazyLoadConfigObjects()) { _behaviorClassMap.put(behaviorId, behaviorClass); } else { _behaviorClassMap.put(behaviorId, ClassUtils.simpleClassForName(behaviorClass)); } if (log.isLoggable(Level.FINEST)) { log.finest("add Behavior class = " + behaviorClass + " for id = " + behaviorId); } } catch (Exception e) { log.log(Level.SEVERE, "Behavior class " + behaviorClass + " not found", e); } }
@Override public final void addConverter(final String converterId, final String converterClass) { checkNull(converterId, "converterId"); checkEmpty(converterId, "converterId"); checkNull(converterClass, "converterClass"); checkEmpty(converterClass, "converterClass"); try { if(isLazyLoadConfigObjects()) { _converterIdToClassMap.put(converterId, converterClass); } else { _converterIdToClassMap.put(converterId, ClassUtils.simpleClassForName(converterClass)); } if (log.isLoggable(Level.FINEST)) { log.finest("add Converter id = " + converterId + " converterClass = " + converterClass); } } catch (Exception e) { log.log(Level.SEVERE, "Converter class " + converterClass + " not found", e); } }
@Override public final void addComponent(final String componentType, final String componentClassName) { checkNull(componentType, "componentType"); checkEmpty(componentType, "componentType"); checkNull(componentClassName, "componentClassName"); checkEmpty(componentClassName, "componentClassName"); try { if(isLazyLoadConfigObjects()) { _componentClassMap.put(componentType, componentClassName); } else { _componentClassMap.put(componentType, ClassUtils.simpleClassForName(componentClassName)); } if (log.isLoggable(Level.FINEST)) { log.finest("add Component class = " + componentClassName + " for type = " + componentType); } } catch (Exception e) { log.log(Level.SEVERE, "Component class " + componentClassName + " not found", e); } }
@Override public final void addValidator(final String validatorId, final String validatorClass) { checkNull(validatorId, "validatorId"); checkEmpty(validatorId, "validatorId"); checkNull(validatorClass, "validatorClass"); checkEmpty(validatorClass, "validatorClass"); try { if(isLazyLoadConfigObjects()) { _validatorClassMap.put(validatorId, validatorClass); } else { _validatorClassMap.put(validatorId, ClassUtils.simpleClassForName(validatorClass)); } if (log.isLoggable(Level.FINEST)) { log.finest("add Validator id = " + validatorId + " class = " + validatorClass); } } catch (Exception e) { log.log(Level.SEVERE, "Validator class " + validatorClass + " not found", e); } }