Save This Page
Home » jboss-5.0.0.CR1-src » org » jboss » ejb » plugins » jaws » bmp » [javadoc | source]
org.jboss.ejb.plugins.jaws.bmp
public class: CustomFindByEntitiesCommand [javadoc | source]
java.lang.Object
   org.jboss.ejb.plugins.jaws.bmp.CustomFindByEntitiesCommand

All Implemented Interfaces:
    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.
Field Summary
static  Logger log     
protected  Method finderImplMethod    The method implementing the finder. 
protected  String name    Command name, used for debug trace. 
Constructor:
 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
Method from org.jboss.ejb.plugins.jaws.bmp.CustomFindByEntitiesCommand Summary:
execute
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.jboss.ejb.plugins.jaws.bmp.CustomFindByEntitiesCommand Detail:
 public Collection execute(Method finderMethod,
    Object[] args,
    EntityEnterpriseContext ctx) throws Exception