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.
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
[email protected]
https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture