| | |
| | | |
| | | if (cfg.isEnabled()) |
| | | { |
| | | String className = cfg.getProviderClass(); |
| | | String className = cfg.getJavaClass(); |
| | | try |
| | | { |
| | | VirtualAttributeProvider<? extends VirtualAttributeCfg> provider = |
| | |
| | | { |
| | | // Get the name of the class and make sure we can instantiate it as a |
| | | // virtual attribute provider. |
| | | String className = configuration.getProviderClass(); |
| | | String className = configuration.getJavaClass(); |
| | | try |
| | | { |
| | | loadProvider(className, configuration, false); |
| | |
| | | VirtualAttributeProvider<? extends VirtualAttributeCfg> provider = null; |
| | | if (resultCode == ResultCode.SUCCESS) |
| | | { |
| | | String className = configuration.getProviderClass(); |
| | | String className = configuration.getJavaClass(); |
| | | try |
| | | { |
| | | provider = loadProvider(className, configuration, true); |
| | |
| | | { |
| | | // Get the name of the class and make sure we can instantiate it as a |
| | | // virtual attribute provider. |
| | | String className = configuration.getProviderClass(); |
| | | String className = configuration.getJavaClass(); |
| | | try |
| | | { |
| | | loadProvider(className, configuration, false); |
| | |
| | | VirtualAttributeProvider<? extends VirtualAttributeCfg> provider = null; |
| | | if (resultCode == ResultCode.SUCCESS) |
| | | { |
| | | String className = configuration.getProviderClass(); |
| | | String className = configuration.getJavaClass(); |
| | | try |
| | | { |
| | | provider = loadProvider(className, configuration, true); |
| | |
| | | VirtualAttributeCfgDefn definition = |
| | | VirtualAttributeCfgDefn.getInstance(); |
| | | ClassPropertyDefinition propertyDefinition = |
| | | definition.getProviderClassPropertyDefinition(); |
| | | definition.getJavaClassPropertyDefinition(); |
| | | Class<? extends VirtualAttributeProvider> providerClass = |
| | | propertyDefinition.loadClass(className, |
| | | VirtualAttributeProvider.class); |