public final class JDBCCustomFinderQuery extends Object implements JDBCQueryCommand
JDBCFindEntitiesCommand
JDBCQueryCommand.EntityProxyFactory
Constructor and Description |
---|
JDBCCustomFinderQuery(JDBCStoreManager manager,
Method finderMethod)
Constructs a command which can handle multiple entity finders
that are BMP implemented.
|
Modifier and Type | Method and Description |
---|---|
Collection |
execute(Method unused,
Object[] args,
CmpEntityBeanContext ctx,
JDBCQueryCommand.EntityProxyFactory factory) |
JDBCStoreManager |
getSelectManager() |
public JDBCCustomFinderQuery(JDBCStoreManager manager, Method finderMethod)
finderMethod
- the EJB finder method implementationpublic JDBCStoreManager getSelectManager()
getSelectManager
in interface JDBCQueryCommand
public Collection execute(Method unused, Object[] args, CmpEntityBeanContext ctx, JDBCQueryCommand.EntityProxyFactory factory) throws javax.ejb.FinderException
execute
in interface JDBCQueryCommand
javax.ejb.FinderException
Copyright © 2013 JBoss, a division of Red Hat, Inc.. All rights reserved.