In integ test, add setter search for ldapServer/service static fields
---------------------------------------------------------------------
Key: DIRSERVER-1424
URL: https://issues.apache.org/jira/browse/DIRSERVER-1424
Project: Directory ApacheDS
Issue Type: Improvement
Components: core-integ
Affects Versions: 1.5.5
Reporter: Francois Armand
I'm trying to use ApacheDS as an LDAP testing server for one the
application I'm working on but I'm using Scala for my application it
doesn't have such a thing as "public static field".
On the other hand, Scala can have "public static method", so it would be
great if in place of the field, you could use getter/setter for
accessing LdapServer.
It should be possible to look for the public static field and if not found, for
the setter method (so that backward compatibility is kept).
Patch demonstrating what works with Scala follows.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.