1 15 package org.apache.hivemind.lib.factory; 16 17 import java.util.ArrayList ; 18 import java.util.List ; 19 import java.util.Map ; 20 21 26 public class BeanFactoryParameter 27 { 28 private Class _vendClass = Object .class; 29 private boolean _defaultCacheable = true; 30 private List _contributions; 31 32 36 public List getContributionsList() 37 { 38 return _contributions; 39 } 40 41 45 46 public boolean getDefaultCacheable() 47 { 48 return _defaultCacheable; 49 } 50 51 55 public Class getVendClass() 56 { 57 return _vendClass; 58 } 59 60 public void setContributions(Map contributions) 61 { 62 _contributions = new ArrayList (contributions.values()); 63 } 64 65 public void setContributionsList(List contributions) 66 { 67 _contributions = contributions; 68 } 69 70 public void setDefaultCacheable(boolean b) 71 { 72 _defaultCacheable = b; 73 } 74 75 public void setVendClass(Class class1) 76 { 77 _vendClass = class1; 78 } 79 80 } 81 | Popular Tags |