felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Conlon (JIRA)" <j...@apache.org>
Subject [jira] Commented: (FELIX-11) Implement Configuration Admin
Date Wed, 21 Jun 2006 00:34:30 GMT
    [ http://issues.apache.org/jira/browse/FELIX-11?page=comments#action_12417003 ] 

John Conlon commented on FELIX-11:
----------------------------------

Have updated a version of the ApacheDS Configuration Admin.( from Enrique's sandbox. ) 

This updated version like the original uses the servicebinder. As an introduction to the implemenation
here is the spec.

<bundle>
  <component class="org.apache.configuration.impl.ConfigurationAdminFactory">
    <provides service="org.osgi.service.cm.ConfigurationAdmin"/>
    <requires
        service="javax.naming.spi.InitialContextFactory"
        filter=""
        cardinality="1..1"
        policy="static"
        bind-method="setInitialContextFactory"
        unbind-method="unsetInitialContextFactory"
    />
    <requires
        service="org.osgi.service.cm.ManagedServiceFactory"
        filter=""
        cardinality="0..n"
        policy="dynamic"
        bind-method="setManagedServiceFactory"
        unbind-method="unsetManagedServiceFactory"
    />
    <requires
        service="org.osgi.service.cm.ManagedService"
        filter=""
        cardinality="0..n"
        policy="dynamic"
        bind-method="setManagedService"
        unbind-method="unsetManagedService"
    />
  </component>
  
  <component class="org.apache.configuration.impl.ConfigurationAttributeMapper">
    <provides service="org.osgi.service.cm.ConfigurationPlugin"/>
    <property name="service.cmRanking" value="0" type="integer"/>
  </component>
</bundle>


This requires:
1. javax.naming.spi.InitialContextFactory provided by an OSGi bundlized version of ApacheDS.
(Enrique has provided much of this already but  some of the bundles required tuning to remove
redundant or missing library dependencies.)
Can provide the modified apacheDS bundles but these will still require much input and I suspect
many changes by the ApacheDS dev team.)

2. LDAP Schema objectclasses and attributes definitions
Have an initial schema that can also be provided.



> Implement Configuration Admin
> -----------------------------
>
>          Key: FELIX-11
>          URL: http://issues.apache.org/jira/browse/FELIX-11
>      Project: Felix
>         Type: New Feature

>   Components: Configuration Admin, Specification compliance
>     Reporter: Richard S. Hall

>
> See section 104 in the OSGi R4 Service Compendium for a full description of the task.
Since implementations of this service exist, perhaps a donation would be possible.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message