01: package org.conform;
02:
03: /**
04: * @author hengels
05: * @version $Revision: 672 $
06: */
07: public class DefaultBeanMetaProvider implements BeanMetaProvider {
08: Beans beans;
09:
10: public DefaultBeanMetaProvider() {
11: beans = new Beans();
12: }
13:
14: public DefaultBeanMetaProvider(Beans beans) {
15: this .beans = beans;
16: }
17:
18: public BeanMeta getBeanMeta(Class type) {
19: return beans.getBeanMeta(type);
20: }
21:
22: public void clearCache() {
23: beans.clearCache();
24: }
25: }
|