Hi Pradeep, The Registry API bundle has the APIs (just the interfaces). The Registry Kernel bundle (registry.core) has the implementations. The OSGi service is registered from the registry.core (which is correct). The OSGi service is published using an interface from registry.core, which is wrong. But, a change to this would mean an API level change and multiple components will be affected. But, you probably can create an interface at registry.api and extend it at registry.core and then publish the implementation using both interfaces, and deprecate what's outdated. Or you could plan for a proper fix in C5.
Thanks, Senaka. On Wed, Sep 19, 2012 at 11:07 AM, Pradeep Fernando <[email protected]> wrote: > Hi, > > It says that the RegistryService is registered under, > > osgi> services (objectclass=*RegistryService) > {org.wso2.carbon.registry.core.service.RegistryService}={service.id=98} > Registered by bundle: org.wso2.carbon.registry.core_4.0.2 [119] > Bundles using service: > org.wso2.carbon.ndatasource.core_4.0.2 [114] > org.wso2.carbon.application.deployer_4.0.2 [95] > org.wso2.carbon.core_4.0.2 [101] > org.wso2.carbon.registry.server_4.0.2 [120] > org.wso2.carbon.tomcat.ext_4.0.2 [130] > org.wso2.carbon.user.mgt_4.0.0 [137] > org.wso2.carbon.core.services_4.0.2 [105] > org.wso2.carbon.server.admin_4.0.2 [125] > org.wso2.carbon.ui_4.0.2 [133] > > > > AFAIK, we separated out the API from the Registry bundle so that we > can make use of the API without depending on the Registry dependency. > Can somebody from registry team explain this usage please. > > thanks, > --Pradeep > -- *Senaka Fernando* Member - Integration Technologies Management Committee; Technical Lead; WSO2 Inc.; http://wso2.com* Member; Apache Software Foundation; http://apache.org E-mail: senaka AT wso2.com **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818 Linked-In: http://linkedin.com/in/senakafernando *Lean . Enterprise . Middleware
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
