1 63 64 package com.jcorporate.expresso.core.registry; 65 66 import com.jcorporate.expresso.core.security.User; 67 68 76 public class ExpressoThreadTestModel extends ExpressoThread { 77 private String dataContext; 78 79 private User user; 80 81 public ExpressoThreadTestModel() { 82 super(); 83 } 84 85 public void setDataContext(String dataContext) { 86 this.dataContext = dataContext; 87 } 88 89 public void setUser(User user) { 90 this.user = user; 91 } 92 93 public String getDataContext() { 94 return dataContext; 95 } 96 97 public User getUser() { 98 return user; 99 } 100 101 107 public void run() { 108 super.run(); 109 110 this.setDataContext(RequestRegistry.getDataContext()); 111 this.setUser(RequestRegistry.getUser()); 112 } 113 } 114 | Popular Tags |