站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 3.2.7 server API Documentation 英文版文档

JDBCDestroyCommand (JBoss Server API) - JBoss 3.2.7 server API Documentation 英文版文档


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

java.lang.Object
  extended byorg.jboss.ejb.plugins.jaws.jdbc.JDBCCommand
      extended byorg.jboss.ejb.plugins.jaws.jdbc.JDBCUpdateCommand
          extended byorg.jboss.ejb.plugins.jaws.jdbc.JDBCDestroyCommand
All Implemented Interfaces:
JPMDestroyCommand

public class JDBCDestroyCommand
extends JDBCUpdateCommand
implements JPMDestroyCommand

JAWSPersistenceManager JDBCDestroyCommand

Version:
$Revision: 1.11.4.1 $

Revisions:

20010812 vincent.harcq@hubmethods.com:

  • Get Rid of debug flag, use log4j instead
Author:
Rickard 脰berg, Marc Fleury, Joe Shevland, Justin Forder
See Also:

Field Summary
 
Fields inherited from class org.jboss.ejb.plugins.jaws.jdbc.JDBCCommand
factory, jawsEntity, name
 
Constructor Summary
JDBCDestroyCommand(JDBCCommandFactory factory)
           
 
Method Summary
 void execute()
           
protected  Object handleResult(int rowsAffected, Object argOrArgs)
          Handle the result of successful execution of the update.
 
Methods inherited from class org.jboss.ejb.plugins.jaws.jdbc.JDBCUpdateCommand
executeStatementAndHandleResult
 
Methods inherited from class org.jboss.ejb.plugins.jaws.jdbc.JDBCCommand
getCMPFieldValue, getConnection, getJawsCMPFieldJDBCType, getJDBCType, getJDBCTypeName, getName, getPkColumnList, getPkColumnWhereList, getPkFieldValue, getResultObject, getResultObject, getSQL, getState, isBinaryType, jdbcExecute, setCMPFieldValue, setParameter, setParameters, setPrimaryKeyParameters, setSQL
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JDBCDestroyCommand

public JDBCDestroyCommand(JDBCCommandFactory factory)
Method Detail

execute

public void execute()
Specified by:
execute in interface JPMDestroyCommand

handleResult

protected Object handleResult(int rowsAffected,
                              Object argOrArgs)
                       throws Exception
Description copied from class: JDBCUpdateCommand
Handle the result of successful execution of the update.

Specified by:
handleResult in class JDBCUpdateCommand
Parameters:
argOrArgs - argument or array of arguments passed in from subclass execute method.
Returns:
any result needed by the subclass execute.
Throws:
Exception - if result handling fails.


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.