| | |
| | | |
| | | if (mapperConfiguration.isEnabled()) |
| | | { |
| | | String className = mapperConfiguration.getMapperClass(); |
| | | String className = mapperConfiguration.getJavaClass(); |
| | | try |
| | | { |
| | | IdentityMapper mapper = loadMapper(className, mapperConfiguration, |
| | |
| | | { |
| | | // Get the name of the class and make sure we can instantiate it as an |
| | | // identity mapper. |
| | | String className = configuration.getMapperClass(); |
| | | String className = configuration.getJavaClass(); |
| | | try |
| | | { |
| | | loadMapper(className, configuration, false); |
| | |
| | | |
| | | // Get the name of the class and make sure we can instantiate it as an |
| | | // identity mapper. |
| | | String className = configuration.getMapperClass(); |
| | | String className = configuration.getJavaClass(); |
| | | try |
| | | { |
| | | identityMapper = loadMapper(className, configuration, true); |
| | |
| | | { |
| | | // Get the name of the class and make sure we can instantiate it as an |
| | | // identity mapper. |
| | | String className = configuration.getMapperClass(); |
| | | String className = configuration.getJavaClass(); |
| | | try |
| | | { |
| | | loadMapper(className, configuration, false); |
| | |
| | | // then we'll at least need to indicate that administrative action is |
| | | // required. If the mapper is disabled, then instantiate the class and |
| | | // initialize and register it as an identity mapper. |
| | | String className = configuration.getMapperClass(); |
| | | String className = configuration.getJavaClass(); |
| | | if (existingMapper != null) |
| | | { |
| | | if (! className.equals(existingMapper.getClass().getName())) |
| | |
| | | IdentityMapperCfgDefn definition = |
| | | IdentityMapperCfgDefn.getInstance(); |
| | | ClassPropertyDefinition propertyDefinition = |
| | | definition.getMapperClassPropertyDefinition(); |
| | | definition.getJavaClassPropertyDefinition(); |
| | | Class<? extends IdentityMapper> mapperClass = |
| | | propertyDefinition.loadClass(className, IdentityMapper.class); |
| | | IdentityMapper mapper = mapperClass.newInstance(); |