org.j2ee.dao
Class DefaultDAOFactoryImpl
java.lang.Object
|
+--org.j2ee.dao.DAOFactory
|
+--org.j2ee.dao.DefaultDAOFactoryImpl
- public class DefaultDAOFactoryImpl
- extends DAOFactory
Based on an example of book Code Notes for J2EE, Edited by GREGORY BRILL,
e-ISBN 0-679-64727-9
Last modified $Date: 2004/05/18 10:50:13 $
- Version:
- $Revision: 1.1.1.1 $
- Author:
- jvlio (jvlio@users.sourceforge.net)
Method Summary |
org.j2ee.dao.DAOAction |
getAction(java.lang.String action_name)
|
org.j2ee.dao.DAOActionProcessor |
getProcessor()
Get or Create a default DAO processor (processor.class entry on daofactory.properties) |
org.j2ee.dao.DAOActionProcessor |
getProcessor(java.lang.String processorKey)
Get or create a named processor |
protected void |
inizialize(java.lang.String factoryName)
Inicialize this factory, named by factoryName name. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
defaultProcessorName
public static final java.lang.String defaultProcessorName
- See Also:
- Constant Field Values
DefaultDAOFactoryImpl
public DefaultDAOFactoryImpl()
inizialize
protected void inizialize(java.lang.String factoryName)
- Inicialize this factory, named by factoryName name.
- Specified by:
inizialize
in class DAOFactory
- Parameters:
factoryName
- name given to this factory instance.
getProcessor
public org.j2ee.dao.DAOActionProcessor getProcessor()
- Get or Create a default DAO processor (processor.class entry on daofactory.properties)
- Specified by:
getProcessor
in class DAOFactory
- Returns:
- a DAOActionProcessor
getProcessor
public org.j2ee.dao.DAOActionProcessor getProcessor(java.lang.String processorKey)
- Get or create a named processor
- Specified by:
getProcessor
in class DAOFactory
- Parameters:
processorKey
- entry for the processor into daofactory.properties.
- Returns:
- a DAOActionProcessor
getAction
public org.j2ee.dao.DAOAction getAction(java.lang.String action_name)
- Specified by:
getAction
in class DAOFactory
Copyright © 2004 DAO Action Patterm. All Rights Reserved.