1 16 17 package org.apache.catalina.cluster.deploy; 18 19 import org.apache.catalina.cluster.ClusterMessage; 20 import org.apache.catalina.cluster.Member; 21 import java.io.Serializable ; 22 public class UndeployMessage implements ClusterMessage,Serializable { 23 private Member address; 24 private long timestamp; 25 private String uniqueId; 26 private String contextPath; 27 private boolean undeploy; 28 29 public UndeployMessage() {} public UndeployMessage(Member address, 31 long timestamp, 32 String uniqueId, 33 String contextPath, 34 boolean undeploy) { 35 this.address = address; 36 this.timestamp= timestamp; 37 this.undeploy = undeploy; 38 this.uniqueId = uniqueId; 39 this.undeploy = undeploy; 40 this.contextPath = contextPath; 41 } 42 43 public Member getAddress() { 44 return address; 45 } 46 47 public void setAddress(Member address) { 48 this.address = address; 49 } 50 51 public long getTimestamp() { 52 return timestamp; 53 } 54 55 public void setTimestamp(long timestamp) { 56 this.timestamp = timestamp; 57 } 58 59 public String getUniqueId() { 60 return uniqueId; 61 } 62 63 public void setUniqueId(String uniqueId) { 64 this.uniqueId = uniqueId; 65 } 66 67 public String getContextPath() { 68 return contextPath; 69 } 70 71 public void setContextPath(String contextPath) { 72 this.contextPath = contextPath; 73 } 74 75 public boolean getUndeploy() { 76 return undeploy; 77 } 78 79 public void setUndeploy(boolean undeploy) { 80 this.undeploy = undeploy; 81 } 82 } 83 | Popular Tags |