org.jboss.ejb.plugins.jaws.jdbc
Class JDBCCommandFactory

java.lang.Object
  |
  +--org.jboss.ejb.plugins.jaws.jdbc.JDBCCommandFactory
All Implemented Interfaces:
JPMCommandFactory

public class JDBCCommandFactory
extends java.lang.Object
implements JPMCommandFactory

JAWSPersistenceManager JDBCCommandFactory

Version:
$Revision: 1.6 $
Author:
Justin Forder

Constructor Summary
JDBCCommandFactory(EntityContainer container, Log log)
           
 
Method Summary
 JPMActivateEntityCommand createActivateEntityCommand()
           
 JDBCBeanExistsCommand createBeanExistsCommand()
          Singleton: multiple callers get references to the same command instance.
 JPMCreateEntityCommand createCreateEntityCommand()
           
 JPMFindEntitiesCommand createDefinedFinderCommand(FinderMetaData f)
           
 JPMDestroyCommand createDestroyCommand()
           
 JPMFindEntitiesCommand createFindAllCommand()
           
 JPMFindEntitiesCommand createFindByCommand(java.lang.reflect.Method finderMethod)
           
 JPMFindEntitiesCommand createFindEntitiesCommand()
          Singleton: multiple callers get references to the same command instance.
 JPMFindEntityCommand createFindEntityCommand()
           
 JPMInitCommand createInitCommand()
           
 JPMLoadEntityCommand createLoadEntityCommand()
           
 JPMPassivateEntityCommand createPassivateEntityCommand()
           
 JPMRemoveEntityCommand createRemoveEntityCommand()
           
 JPMStartCommand createStartCommand()
           
 JPMStopCommand createStopCommand()
           
 JPMStoreEntityCommand createStoreEntityCommand()
           
 EntityContainer getContainer()
           
 boolean getDebug()
           
 javax.naming.Context getJavaCtx()
           
 Log getLog()
           
 JawsEntityMetaData getMetaData()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JDBCCommandFactory

public JDBCCommandFactory(EntityContainer container,
                          Log log)
                   throws java.lang.Exception
Method Detail

getContainer

public EntityContainer getContainer()

getJavaCtx

public javax.naming.Context getJavaCtx()

getMetaData

public JawsEntityMetaData getMetaData()

getLog

public Log getLog()

getDebug

public boolean getDebug()

createBeanExistsCommand

public JDBCBeanExistsCommand createBeanExistsCommand()
Singleton: multiple callers get references to the same command instance.

createFindAllCommand

public JPMFindEntitiesCommand createFindAllCommand()

createDefinedFinderCommand

public JPMFindEntitiesCommand createDefinedFinderCommand(FinderMetaData f)

createFindByCommand

public JPMFindEntitiesCommand createFindByCommand(java.lang.reflect.Method finderMethod)
                                           throws java.lang.IllegalArgumentException

createInitCommand

public JPMInitCommand createInitCommand()
Specified by:
createInitCommand in interface JPMCommandFactory

createStartCommand

public JPMStartCommand createStartCommand()
Specified by:
createStartCommand in interface JPMCommandFactory

createStopCommand

public JPMStopCommand createStopCommand()
Specified by:
createStopCommand in interface JPMCommandFactory

createDestroyCommand

public JPMDestroyCommand createDestroyCommand()
Specified by:
createDestroyCommand in interface JPMCommandFactory

createFindEntityCommand

public JPMFindEntityCommand createFindEntityCommand()
Specified by:
createFindEntityCommand in interface JPMCommandFactory

createFindEntitiesCommand

public JPMFindEntitiesCommand createFindEntitiesCommand()
Singleton: multiple callers get references to the same command instance.
Specified by:
createFindEntitiesCommand in interface JPMCommandFactory

createCreateEntityCommand

public JPMCreateEntityCommand createCreateEntityCommand()
Specified by:
createCreateEntityCommand in interface JPMCommandFactory

createRemoveEntityCommand

public JPMRemoveEntityCommand createRemoveEntityCommand()
Specified by:
createRemoveEntityCommand in interface JPMCommandFactory

createLoadEntityCommand

public JPMLoadEntityCommand createLoadEntityCommand()
Specified by:
createLoadEntityCommand in interface JPMCommandFactory

createStoreEntityCommand

public JPMStoreEntityCommand createStoreEntityCommand()
Specified by:
createStoreEntityCommand in interface JPMCommandFactory

createActivateEntityCommand

public JPMActivateEntityCommand createActivateEntityCommand()
Specified by:
createActivateEntityCommand in interface JPMCommandFactory

createPassivateEntityCommand

public JPMPassivateEntityCommand createPassivateEntityCommand()
Specified by:
createPassivateEntityCommand in interface JPMCommandFactory


Copyright © 2000 The JBoss Organization. All Rights Reserved.