[lsc-dev] [LDAP Synchronization Connector - Bug #526] Unable to override a service impl with JAXB

noreply at lsc-project.org noreply at lsc-project.org
Sun Sep 16 23:26:28 CEST 2012

Issue #526 has been updated by Stéphane Bond.

The change in LscConfiguration.java ensure that, if the "implementationClass" attribute is set, the getServiceImplementation() method returns a new instance of the specified class.

Because PluginSourceServiceType and PluginDestinationServiceType need this attribute, the code will work for them. If the "implementationClass" is ommited for a plugin, the "Unknown service type" exception will be raised.
Bug #526: Unable to override a service impl with JAXB

Author: Stéphane Bond
Status: Assigned
Priority: Normal
Assigned to: Raphaël Ouazana
Category: Core
Target version: 2.0.1
Problem in version: 

With the new JAXB configuration, this is not possible anymore to override a service to provide a custom behavior.

For example, org.lsc.jndi.ActiveDirectoryDstService extends SimpleJndiDstService to handle synchronization over the AD "memberOf" attribute.
(See issue #338)

It would be usefull to be able to specify a custom implementation like this:
<ldapDestinationService implementationClass="org.lsc.jndi.ActiveDirectoryDstService">

The attached patch move the "implementationClass" attribute to the "serviceType" so it's possible to provide a custom implementation to all services type, not only for plugins.

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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lsc-project.org/pipermail/lsc-dev/attachments/20120916/0e8a1716/attachment.htm>

More information about the lsc-dev mailing list