directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Francois Armand (JIRA)" <j...@apache.org>
Subject [jira] Updated: (DIRSERVER-1424) In integ test, add setter search for ldapServer/service static fields
Date Fri, 13 Nov 2009 08:42:39 GMT

     [ https://issues.apache.org/jira/browse/DIRSERVER-1424?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Francois Armand updated DIRSERVER-1424:
---------------------------------------

    Attachment: ldapServerBySetter.patch
                serviceBySetter.patch

Patches showing what is need to make Scala happy for setting "ldapServer" field in tests.


> 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
>         Attachments: ldapServerBySetter.patch, serviceBySetter.patch
>
>
> 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.


Mime
View raw message