| 1 package com.quadcap.server; 2 3 40 41 import java.util.Properties ; 42 43 48 public class ServiceWrapper { 49 String serviceName = null; 50 int loadOnStartup = -1; 51 String serviceClass = null; 52 Properties serviceProps = null; 53 54 public ServiceWrapper() {} 55 56 public void setServiceName(String name) { 57 this.serviceName = name; 58 } 59 60 public String getServiceName() { 61 return serviceName; 62 } 63 64 public void setLoadOnStartup(int n) { 65 this.loadOnStartup = n; 66 } 67 68 public int getLoadOnStartup() { 69 return loadOnStartup; 70 } 71 72 public void setServiceClass(String s) { 73 this.serviceClass = s; 74 } 75 76 public String getServiceClass() { 77 return serviceClass; 78 } 79 80 public void setServiceProperties(Properties p) { 81 this.serviceProps = p; 82 } 83 84 public Properties getServiceProperties() { 85 return serviceProps; 86 } 87 88 } 89 | Popular Tags |