当前页面:
在线文档首页 >
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
org.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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
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.