KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jboss > portal > setup > dl > DataLoaderFactory


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.dl;
10
11 import org.jboss.portal.setup.config.PortalSetupConfig;
12 import org.jboss.portal.setup.PortalSetupException;
13
14
15 /**
16  * @author <a HREF="mailto:palber@novell.com">Polina Alber</a>
17  * Date: Apr 13, 2005; Time: 12:36:19 PM
18  * @since JBoss portal 2.0
19  * Interface org.jboss.portal.setup.dl.DataLoaderFactory
20  */

21 public interface DataLoaderFactory
22 {
23    /**
24     * @param actionType is a type of an action; There is one to one mapping between action type and data loader
25     * @param config - portal setup service configuration. DataLoader factory
26     * will be able to retrive all required by data loader information from it.
27     * @return a DtataLoader, that have been fully configured and initialized
28     */

29    DataLoader getDataLoader(String JavaDoc actionType, PortalSetupConfig config) throws PortalSetupException;
30 }
31
Popular Tags