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: 57209 $
- 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.