当前页面:
在线文档首页 >
JBoss 3.2.7 server API Documentation 英文版文档
CustomFindByEntitiesCommand (JBoss Server API) - JBoss 3.2.7 server API Documentation 英文版文档
org.jboss.ejb.plugins.jaws.bmp
Class CustomFindByEntitiesCommand
java.lang.Object
org.jboss.ejb.plugins.jaws.bmp.CustomFindByEntitiesCommand
- All Implemented Interfaces:
- JPMFindEntitiesCommand
- public class CustomFindByEntitiesCommand
- extends Object
- implements JPMFindEntitiesCommand
JAWSPersistenceManager 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 interface. The EJB implementation
must return a Collection of primary keys.
- Version:
- $Revision: 1.13 $
- Author:
- Michel de Groot
- See Also:
JDBCFindEntitiesCommand
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
finderImplMethod
protected Method finderImplMethod
- The method implementing the finder.
name
protected String name
- Command name, used for debug trace.
CustomFindByEntitiesCommand
public CustomFindByEntitiesCommand(Method finderMethod)
throws IllegalArgumentException
- Constructs a JAWS command which can handle multiple entity finders
that are BMP implemented.
- Parameters:
finderMethod
- the EJB finder method implementation
execute
public Collection execute(Method finderMethod,
Object[] args,
EntityEnterpriseContext ctx)
throws Exception
- Specified by:
execute
in interface JPMFindEntitiesCommand
- Throws:
Exception
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.