Why not simply move System restarter to org.wso2.carbon.core?

On Wed, Feb 22, 2012 at 3:38 PM, Sameera Jayasoma <same...@wso2.com> wrote:

> Hi Devs,
>
> Background
> -----------------
>
> * Earlier, all the classes in the org.wso2.carbon.bridge package have been
> exported to the OSGi environment. This bridge package was running in the
> Carbon webapp class space.
> * SystemRestarter class which is responsible for restarting Carbon, was
> there in the bridge package. Carbon Core bundle invokes the
> SystemRestarter.restart() to restart the system forcefully or
>    gracefully. This class is visible to Carbon core, because we have
> exposed all classes in the bridge package.
>
> Current Situation
> ------------------------
> * Now we are removing the webapp support from Carbon. Hence we are moving
> all these utility classes to the org.wso2.carbon.server package. And also
> we decided not expose the classes in org.wso2.carbon.server package into
> the OSGi environment.
>
> Now in order to get this restart to work, the only solution I see is to
> use reflection and invoke the SystemRestarter.restart method. If there are
> no objections I will implement this.
>
> Thanks,
> Sameera.
> --
> Sameera Jayasoma
> Technical Lead and Product Manager, WSO2 Carbon
>
> WSO2, Inc. (http://wso2.com)
> email: same...@wso2.com
> blog: http://tech.jayasoma.org
>
> Lean . Enterprise . Middleware
>
> _______________________________________________
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
*Afkham Azeez*
Director of Architecture; WSO2, Inc.; http://wso2.com
Member; Apache Software Foundation; http://www.apache.org/
* <http://www.apache.org/>**
email: **az...@wso2.com* <az...@wso2.com>* cell: +94 77 3320919
blog: **http://blog.afkham.org* <http://blog.afkham.org>*
twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez>
*
linked-in: **http://lk.linkedin.com/in/afkhamazeez*
*
*
*Lean . Enterprise . Middleware*
_______________________________________________
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to