KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > tc > config > schema > repository > BeanRepository


1 /*
2  * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.
3  */

4 package com.tc.config.schema.repository;
5
6 import org.apache.xmlbeans.SchemaType;
7 import org.apache.xmlbeans.XmlObject;
8
9 import com.tc.config.schema.listen.ConfigurationChangeListener;
10
11 /**
12  * An object that holds onto an {@link XmlObject}, and lets you know when it changes.
13  */

14 public interface BeanRepository {
15
16   void ensureBeanIsOfClass(Class JavaDoc theClass);
17
18   SchemaType rootBeanSchemaType();
19
20   XmlObject bean();
21
22   void addListener(ConfigurationChangeListener listener);
23
24 }
25
Popular Tags