DeploymentEvent
DeploymentEventListener
DeploymentEventManager
299300301302303304305
* @param info deployment event info * @return DeploymentEvent **/ protected DeploymentEvent getPrePhaseEvent(DeploymentEventInfo info) { //FIXME change the event type and include a eventSource return new DeploymentEvent(DeploymentEventType.PRE_DEPLOY, info ); }
308309310311312313314
* Event that will be broadcasted at the end of the phase * @return DeploymentEvent **/ protected DeploymentEvent getPostPhaseEvent(DeploymentEventInfo info) { //FIXME change the event type and include a eventSource return new DeploymentEvent(DeploymentEventType.POST_DEPLOY, info); }
108109110111112113114
* @param req Deployment request object * @return DeploymentEvent */ private DeploymentEvent getPrePhaseEvent(DeploymentRequest req) { return new DeploymentEvent(DeploymentEventType.PRE_RES_CREATE, new DeploymentEventInfo(req)); }
116117118119120121122
/** * Event that will be broadcasted at the end of the phase * @return DeploymentEvent */ private DeploymentEvent getPostPhaseEvent(DeploymentRequest req) { return new DeploymentEvent(DeploymentEventType.POST_RES_CREATE, new DeploymentEventInfo(req)); }
149150151152153154155
* Event that will be broadcasted at the start of the phase * @param req Deployment request object * @return DeploymentEvent */ private DeploymentEvent getPrePhaseEvent(DeploymentRequest req) { return new DeploymentEvent(DeploymentEventType.PRE_RA_START, new DeploymentEventInfo(req)); }
158159160161162163164
* Event that will be broadcasted at the end of the phase * @param req Deployment request object * @return DeploymentEvent */ private DeploymentEvent getPostPhaseEvent(DeploymentRequest req) { return new DeploymentEvent(DeploymentEventType.POST_RA_START, new DeploymentEventInfo(req)); }
164165166167168169170
* @param req Deployment request object * @return DeploymentEvent */ protected DeploymentEvent getPrePhaseEvent(DeploymentRequest req) { return new DeploymentEvent(DeploymentEventType.PRE_APP_STOP, new DeploymentEventInfo(req)); }
174175176177178179180
* @param req Deployment request object * @return DeploymentEvent */ protected DeploymentEvent getPostPhaseEvent(DeploymentRequest req) { return new DeploymentEvent(DeploymentEventType.POST_APP_STOP,new DeploymentEventInfo(req) ); }
* Event that will be broadcasted at the start of the phase * @param req Deployment request object * @return DeploymentEvent */ private DeploymentEvent getPrePhaseEvent(DeploymentRequest req) { return new DeploymentEvent(DeploymentEventType.PRE_APP_START, new DeploymentEventInfo(req)); }
167168169170171172173
* Event that will be broadcasted at the end of the phase * @param req Deployment request object * @return DeploymentEvent */ private DeploymentEvent getPostPhaseEvent(DeploymentRequest req) { return new DeploymentEvent(DeploymentEventType.POST_APP_START, new DeploymentEventInfo(req)); }