KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jboss > portal > setup > sl > SchemaLoader


1 /*****************************************
2  * *
3  * JBoss Portal: The OpenSource Portal *
4  * *
5  * Distributable under LGPL license. *
6  * See terms of license at gnu.org. *
7  * *
8  *****************************************/

9 package org.jboss.portal.setup.sl;
10
11 import org.jboss.portal.setup.PortalSetupException;
12
13 /**
14  * @author <a HREF="mailto:palber@novell.com">Polina Alber</a>
15  * Date: Apr 13, 2005; Time: 12:28:20 AM
16  * @since JBoss portal 2.0
17  * Interface org.jboss.portal.setup.sl.SchemaLoader
18  */

19 public interface SchemaLoader
20 {
21    void setSchemaLoaderConfig(SchemaLoaderConfig config) throws PortalSetupException;
22
23    SchemaLoaderConfig getSchemaLoaderConfig();
24
25    boolean loadSchema() throws PortalSetupException;
26
27    boolean isSchemaExists() throws PortalSetupException;
28
29    boolean destroySchema() throws PortalSetupException;
30
31    /**
32     * destroy SchemaLoader and cleans all resources
33     *
34     * @throws PortalSetupException
35     */

36    public void destroy() throws PortalSetupException;
37
38 }
39
Popular Tags