KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > bsf > smartValueObject > demo > DemoConfig


1 package org.bsf.smartValueObject.demo;
2
3 import org.bsf.smartValueObject.mediator.MediatorConfig;
4
5 import java.util.Collection JavaDoc;
6 import java.util.ArrayList JavaDoc;
7
8 /**
9  * DemoConfig.
10  *
11  */

12 public class DemoConfig implements MediatorConfig {
13     private static final Collection JavaDoc classes = new ArrayList JavaDoc();
14
15     static {
16         classes.add(org.bsf.smartValueObject.demo.CompanyVO.class);
17         classes.add(org.bsf.smartValueObject.demo.SubsidiaryVO.class);
18     }
19
20     /**
21      * Gets classes of the VOs.
22      * @return
23      */

24     public Collection JavaDoc getClasses() {
25         return classes;
26     }
27 }
28
29
Popular Tags