[
https://wso2.org/jira/browse/MASHUP-636?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15925#action_15925
]
Keith Godwin Chapman commented on MASHUP-636:
---------------------------------------------
Finally decided to go with init and destroy. Sample usage is
this.init=init;
function init() {
// Do some stuff upon deployment
print("init");
}
this.destroy=destroy;
function destroy() {
// Do some stuff upon undeployment
print("destroy");
}
OR
this.init= function init() {
// Do some stuff upon deployment
print("init");
}
this.destroy= function destroy() {
// Do some stuff upon undeployment
print("destroy");
}
> Add service lificycle support to mashups
> ----------------------------------------
>
> Key: MASHUP-636
> URL: https://wso2.org/jira/browse/MASHUP-636
> Project: WSO2 Mashup Server
> Issue Type: New Feature
> Reporter: Keith Godwin Chapman
> Assignee: Keith Godwin Chapman
> Fix For: 1.1
>
>
> We need some service Lificycle support in mashups.
> May be init method to run on startup and a destry method to run on shutdown
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://wso2.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
Mashup-dev mailing list
[email protected]
http://www.wso2.org/cgi-bin/mailman/listinfo/mashup-dev