1 15 package hivemind.test.services; 16 17 import org.apache.commons.logging.Log; 18 import org.apache.hivemind.ClassResolver; 19 import org.apache.hivemind.ErrorHandler; 20 import org.apache.hivemind.ErrorLog; 21 import org.apache.hivemind.Messages; 22 import org.apache.hivemind.service.Autowiring; 23 24 30 public class AutowireTarget implements Runnable 31 { 32 private Log _log; 33 34 private ErrorHandler _errorHandler; 35 36 private ClassResolver _classResolver; 37 38 private String _serviceId; 39 40 private Messages _messages; 41 42 private ErrorLog _errorLog; 43 44 public ClassResolver getClassResolver() 45 { 46 return _classResolver; 47 } 48 49 public ErrorHandler getErrorHandler() 50 { 51 return _errorHandler; 52 } 53 54 public Log getLog() 55 { 56 return _log; 57 } 58 59 public Messages getMessages() 60 { 61 return _messages; 62 } 63 64 public String getServiceId() 65 { 66 return _serviceId; 67 } 68 69 public void setClassResolver(ClassResolver resolver) 70 { 71 _classResolver = resolver; 72 } 73 74 public void setErrorHandler(ErrorHandler handler) 75 { 76 _errorHandler = handler; 77 } 78 79 public void setLog(Log log) 80 { 81 _log = log; 82 } 83 84 public void setMessages(Messages messages) 85 { 86 _messages = messages; 87 } 88 89 public void setServiceId(String string) 90 { 91 _serviceId = string; 92 } 93 94 public void run() 95 { 96 } 98 99 public ErrorLog getErrorLog() 100 { 101 return _errorLog; 102 } 103 104 public void setErrorLog(ErrorLog errorLog) 105 { 106 _errorLog = errorLog; 107 } 108 } | Popular Tags |