org.jboss.ejb.plugins.cmp.jdbc2.keygen
Class AbstractCreateCommand

java.lang.Object
  extended by org.jboss.ejb.plugins.cmp.jdbc2.keygen.AbstractCreateCommand
All Implemented Interfaces:
CreateCommand
Direct Known Subclasses:
HsqldbCreateCommand, PostgreSQLCreateCommand

public abstract class AbstractCreateCommand
extends Object
implements CreateCommand

Abstract create command

Version:
$Revision: 85945 $
Author:
Jesper Pedersen

Field Summary
protected  JDBCEntityBridge2 entityBridge
           
protected  org.jboss.logging.Logger log
           
protected  JDBCCMPFieldBridge2 pkField
           
protected  String pkSql
           
 
Constructor Summary
AbstractCreateCommand()
           
 
Method Summary
 Object execute(Method m, Object[] args, EntityEnterpriseContext ctx)
           
 void init(JDBCStoreManager2 manager)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

entityBridge

protected JDBCEntityBridge2 entityBridge

log

protected org.jboss.logging.Logger log

pkField

protected JDBCCMPFieldBridge2 pkField

pkSql

protected String pkSql
Constructor Detail

AbstractCreateCommand

public AbstractCreateCommand()
Method Detail

init

public void init(JDBCStoreManager2 manager)
          throws DeploymentException
Specified by:
init in interface CreateCommand
Throws:
DeploymentException

execute

public Object execute(Method m,
                      Object[] args,
                      EntityEnterpriseContext ctx)
               throws javax.ejb.CreateException
Specified by:
execute in interface CreateCommand
Throws:
javax.ejb.CreateException


Copyright © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.