1 5 package ve.luz.ica.jackass.instantiator; 6 7 import org.apache.commons.pool.ObjectPool; 8 9 import ve.luz.ica.jackass.component.ApplicationContext; 10 import ve.luz.ica.jackass.component.StatelessContext; 11 12 15 class StatelessObjectInfo 16 { 17 private Class servantClass; 18 private ApplicationContext appContext; 19 private StatelessContext compContext; 20 private ObjectPool servantPool; 21 22 29 StatelessObjectInfo(Class servantClass, ApplicationContext appContext, 30 StatelessContext compContext, ObjectPool servantPool) 31 { 32 this.servantClass = servantClass; 33 this.appContext = appContext; 34 this.compContext = compContext; 35 this.servantPool = servantPool; 36 } 37 38 42 public ApplicationContext getAppContext() 43 { 44 return appContext; 45 } 46 47 51 public StatelessContext getCompContext() 52 { 53 return compContext; 54 } 55 56 60 public Class getServantClass() 61 { 62 return servantClass; 63 } 64 65 69 public ObjectPool getServantPool() 70 { 71 return servantPool; 72 } 73 74 } 75 | Popular Tags |