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

JDBCCustomFinderQuery (JBoss Server API) - JBoss 4.0.1 sp1 server API Documentation 英文版文档


org.jboss.ejb.plugins.cmp.jdbc
Class JDBCCustomFinderQuery

java.lang.Object
  extended byorg.jboss.ejb.plugins.cmp.jdbc.JDBCCustomFinderQuery
All Implemented Interfaces:
JDBCQueryCommand

public final class JDBCCustomFinderQuery
extends Object
implements JDBCQueryCommand

CMPStoreManager CustomFindByEntitiesCommand. Implements bridge for custom implemented finders in container managed entity beans. These methods are called ejbFindX in the EJB implementation class, where X can be anything. Such methods are called findX in the Home and/or the LocalHome interface.

Version:
$Revision: 1.11 $
Author:
Michel de Groot, John Freeborg
See Also:
JDBCFindEntitiesCommand

Constructor Summary
JDBCCustomFinderQuery(JDBCStoreManager manager, Method finderMethod)
          Constructs a command which can handle multiple entity finders that are BMP implemented.
 
Method Summary
 Collection execute(Method unused, Object[] args, EntityEnterpriseContext ctx, GenericEntityObjectFactory factory)
           
 JDBCStoreManager getSelectManager()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JDBCCustomFinderQuery

public JDBCCustomFinderQuery(JDBCStoreManager manager,
                             Method finderMethod)
Constructs a command which can handle multiple entity finders that are BMP implemented.

Parameters:
finderMethod - the EJB finder method implementation
Method Detail

getSelectManager

public JDBCStoreManager getSelectManager()
Specified by:
getSelectManager in interface JDBCQueryCommand

execute

public Collection execute(Method unused,
                          Object[] args,
                          EntityEnterpriseContext ctx,
                          GenericEntityObjectFactory factory)
                   throws javax.ejb.FinderException
Specified by:
execute in interface JDBCQueryCommand
Throws:
javax.ejb.FinderException


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