On Tue, Mar 22, 2016 at 9:44 PM, KasunG Gajasinghe <kas...@wso2.com> wrote:

> Hi,
>
> To provide extensibility to the C5 deployment engine, we need to add the
> lifecycle listener support to it. The immediate need is to provide the
> deployment coordination feature.
>
> Hi Kasun,

Better if you can share the deployment coordiation plan for C5 as well.

Regards,
Aruna

> Initially, may be we can support following four lifecycle events. The
> first two will be triggered before and after artifact deployment, while the
> latter two will be triggered before and after artifact undeployment.
>
> BEFORE_START_EVENT
> AFTER_START_EVENT
> BEFORE_STOP_EVENT
> AFTER_STOP_EVENT
>
> The lifecycle listener registration can be done via OSGi services that
> implements org.wso2.carbon.kernel.deployment.LifecycleListener. This
> interface has one method -
>
> public interface LifecycleListener {
>     void lifecycleEvent(LifecycleEvent event);
> }
>
> Any suggestions?
>
> Thanks,
> KasunG
>
> --
>
> *Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc.
> email: kasung AT spamfree wso2.com
> linked-in: http://lk.linkedin.com/in/gajasinghe
> blog: http://kasunbg.org
>
>
>
> _______________________________________________
> Architecture mailing list
> Architecture@wso2.org
> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>
>


-- 

*Aruna Sujith Karunarathna *
WSO2, Inc | lean. enterprise. middleware.
#20, Palm Grove, Colombo 03, Sri Lanka
Mobile: +94 71 9040362 | Work: +94 112145345
Email: ar...@wso2.com | Web: www.wso2.com
_______________________________________________
Architecture mailing list
Architecture@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture

Reply via email to