KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > ozoneDB > FactoryClassInfo


1 package org.ozoneDB;
2
3 /**
4  * <p>Every <code>XxxImplFactory</code> must create 1 instance of a class
5  * implementing this interface and call <code>addFactoryClassInfo</code> with
6  * that instance as parameter.</p>
7  * @author leo
8  */

9 public interface FactoryClassInfo {
10     
11     /**
12      * <p>This method is called when someone called <code>AbstractFactory.setDefaultDatabaseUrl</code>.
13      * Implementations of this class should use this method to make shure the
14      * next time <code>getDefault()</code> is called for its factory class, that
15      * method will return a factory connected to the database identified by the
16      * new uri.</p>
17      */

18     public void defaultDatabaseUrlChanged();
19     
20 }
21
Popular Tags