Sun GlassFish Enterprise Server 2.1 Application Deployment 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–78 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.