org.tranql.ejb
Class EJBCommandFactory

java.lang.Object
  extended byorg.tranql.ejb.EJBCommandFactory
All Implemented Interfaces:
CommandFactory, java.io.Serializable

public class EJBCommandFactory
extends java.lang.Object
implements CommandFactory

Version:
$Revision: 155 $ $Date: 2004-12-03 00:12:10 +0100 (Fri, 03 Dec 2004) $
See Also:
Serialized Form

Constructor Summary
EJBCommandFactory()
           
 
Method Summary
 QueryCommand createQuery(Query query)
           
 QueryCommand createQuery(java.lang.String query, QueryBinding[] paramTransforms, QueryBinding[] resultTransforms)
           
 UpdateCommand createUpdate(Query query)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EJBCommandFactory

public EJBCommandFactory()
Method Detail

createQuery

public QueryCommand createQuery(java.lang.String query,
                                QueryBinding[] paramTransforms,
                                QueryBinding[] resultTransforms)
                         throws QueryException
Specified by:
createQuery in interface CommandFactory
Throws:
QueryException

createQuery

public QueryCommand createQuery(Query query)
                         throws QueryException
Specified by:
createQuery in interface CommandFactory
Throws:
QueryException

createUpdate

public UpdateCommand createUpdate(Query query)
                           throws QueryException
Specified by:
createUpdate in interface CommandFactory
Throws:
QueryException


Copyright © -2006 The Codehaus. All Rights Reserved.