Sun Java System Application Server Enterprise Edition 8.2 Developer's Guide

method

Specifies a bean method.

Superelements

flush-at-end-of-method (sun-ejb-jar.xml)

Subelements

The following table describes subelements for the method element.

Table A–75 method Subelements

Element  

Required  

Description  

description

zero or one 

Specifies an optional text description. 

ejb-name

zero or one 

Matches the ejb-name in the corresponding ejb-jar.xml file.

method-name

only one 

Specifies a method name. 

method-intf

zero or one 

Specifies the method interface to distinguish between methods with the same name in different interfaces. 

method-params

zero or one 

Specifies fully qualified Java type names of method parameters.