1 23 24 29 30 package com.sun.enterprise.deployment.backend; 31 32 import java.util.EventObject ; 33 34 41 public class DeploymentEvent 42 extends EventObject 43 { 44 45 public static final int UNKNOWN = 0; 46 47 public static final int PRE_DEPLOY = 1; 48 49 public static final int POST_DEPLOY = 2; 50 51 public static final int PRE_UNDEPLOY = 3; 52 53 public static final int POST_UNDEPLOY = 4; 54 55 56 57 private int eventType = 0; 58 59 65 public DeploymentEvent(int eventType, DeploymentEventInfo info) { 66 super(info); 67 this.eventType = eventType; 68 } 69 70 74 public int getEventType() { 75 return eventType; 76 } 77 78 82 public DeploymentEventInfo getEventInfo() { 83 return (DeploymentEventInfo)getSource(); 84 } 85 86 } 87 | Popular Tags |