org.jboss.ejb.plugins.cmp.jdbc
Class JDBCCustomFinderQuery
java.lang.Object
org.jboss.ejb.plugins.cmp.jdbc.JDBCCustomFinderQuery
- All Implemented Interfaces:
- JDBCQueryCommand (src)
- public final class JDBCCustomFinderQuery
- extends java.lang.Object
- implements JDBCQueryCommand (src)
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.
- See Also:
JDBCFindEntitiesCommand
(src)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JDBCCustomFinderQuery
public JDBCCustomFinderQuery(JDBCStoreManager (src) manager,
java.lang.reflect.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 (src) getSelectManager()
- Specified by:
getSelectManager
in interface JDBCQueryCommand (src)
execute
public java.util.Collection execute(java.lang.reflect.Method unused,
java.lang.Object[] args,
EntityEnterpriseContext (src) ctx,
GenericEntityObjectFactory (src) factory)
throws FinderException (src)
- Specified by:
execute
in interface JDBCQueryCommand (src)
- Throws:
FinderException (src)