Issue #598 has been updated by Maxime Pelletier.

Status changed from New to Closed

Because of the way inheritence is structured in XSD, it is not possible to 
define default values for inherited attributes.

The XSD would need to be refactored in order to make this possible.

I'm closing this request since it is impossible to implement.
----------------------------------------
Bug #598: Move implementation class mapping to XSD
http://tools.lsc-project.org/issues/598

Author: Maxime Pelletier
Status: Closed
Priority: Normal
Assigned to: Maxime Pelletier
Category: Core
Target version: 2.1
Problem in version: 


The mapping for implementation class is currently in the class 
org.lsc.configuration.LscConfiguration. Because of that, it is complex to add a 
new service which inherit from an existing service(with no extra parameter). 
Also, when adding a brand new service, the mapping needs to be hardcoded in 
that class.

By adding a parameter called "implementationClass" to all service type in the 
XSD, we could avoid this complexity. The XSD would also define the default 
implementation classes. 

This change is backward compatible with existing configuration files.


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://tools.lsc-project.org/my/account
_______________________________________________________________
Ldap Synchronization Connector (LSC) - http://lsc-project.org

lsc-dev mailing list
[email protected]
http://lists.lsc-project.org/listinfo/lsc-dev

Reply via email to