Oracle GlassFish Server 3.0.1 Application Deployment Guide

method

Specifies a bean method.

Superelements

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

Subelements

The following table describes subelements for the method element.

Table C–97 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.