EjbFinderMethodDescriptionpublic class EjbFinderMethodDescription extends com.sun.enterprise.tools.verifier.tests.ejb.EjbTest implements com.sun.enterprise.tools.verifier.tests.ejb.EjbCheckNote that the ejbFind names and parameter signatures do not
provide the container tools with sufficient information for automatically
generating the implementation of the finder methods for methods other than
ejbFindByPrimaryKey. Therefore, the bean provider is responsible for
providing a description of each finder method. The entity bean Deployer
uses container tools to generate the implementation of the finder methods
based in the description supplied by the bean provider. The Enterprise
JavaBeans architecture does not specify the format of the finder method
description. |
Methods Summary |
---|
public Result | check(com.sun.enterprise.deployment.EjbDescriptor descriptor)Note that the ejbFind names and parameter signatures do not
provide the container tools with sufficient information for automatically
generating the implementation of the finder methods for methods other than
ejbFindByPrimaryKey. Therefore, the bean provider is responsible for
providing a description of each finder method. The entity bean Deployer
uses container tools to generate the implementation of the finder methods
based in the description supplied by the bean provider. The Enterprise
JavaBeans architecture does not specify the format of the finder method
description.
Result result = getInitializedResult();
// Stub test class placeholder
// fill in guts/logic - pass/fail accordingly in future
result.setStatus(Result.NOT_IMPLEMENTED);
result.addNaDetails
(smh.getLocalString
(getClass().getName() + ".notImplemented",
"No static testing done - yet."));
return result;
|
|