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 java.lang.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.3.4.2 $
- Author:
- Michel de Groot
- See Also:
JDBCFindEntitiesCommand
Constructor Summary |
CustomFindByEntitiesCommand(java.lang.reflect.Method finderMethod)
Constructs a JAWS command which can handle multiple entity finders
that are BMP implemented. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
finderImplMethod
protected java.lang.reflect.Method finderImplMethod
name
protected java.lang.String name
CustomFindByEntitiesCommand
public CustomFindByEntitiesCommand(java.lang.reflect.Method finderMethod)
throws java.lang.IllegalArgumentException
- Constructs a JAWS command which can handle multiple entity finders
that are BMP implemented.
- Parameters:
finderMethod
- the EJB finder method implementation
execute
public FinderResults execute(java.lang.reflect.Method finderMethod,
java.lang.Object[] args,
EntityEnterpriseContext ctx)
throws java.rmi.RemoteException,
javax.ejb.FinderException
- Specified by:
execute
in interface JPMFindEntitiesCommand
Copyright © 2000 The JBoss Organization. All Rights Reserved.