|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public static interface Deployment.Method
Method
The methodType is used to denote a method of an enterprise bean's home, component, and/or web service endpoint interface, or, in the case of a message-driven bean, the bean's message listener method, or a set of such methods. The ejb-name element must be the name of one of the enterprise beans declared in the deployment descriptor; the optional method-intf element allows to distinguish between a method with the same signature that is multiply defined across the home, component, and/or web service endpoint interfaces; the method-name element specifies the method name; and the optional method-params elements identify a single method among multiple methods with an overloaded method name.
There are three possible styles of using methodType element within a method element
<method> <ejb-name>EJBNAME</ejb-name> <method-name>*</method-name> </method>This style is used to refer to all the methods of the specified enterprise bean's home, component, and/or web service endpoint interfaces.
<method> <ejb-name>EJBNAME</ejb-name> <method-name>METHOD</method-name> </method>This style is used to refer to the specified method of the specified enterprise bean. If there are multiple methods with the same overloaded name, the element of this style refers to all the methods with the overloaded name.
<method>
<ejb-name>EJBNAME</ejb-name>
<method-name>METHOD</method-name>
<method-params>
<method-param>PARAM-1</method-param>
<method-param>PARAM-2</method-param>
...
<method-param>PARAM-n</method-param>
</method-params>
</method>
| Method Summary | |
|---|---|
String |
getMethodIntf()
The method-intf element allows a method element to differentiate between the methods with the same name and signature that are multiply defined across the home and component interfaces (e.g., in both an enterprise bean's remote and local interfaces, or in both an enterprise bean's home and remote interfaces, etc.) |
String |
getMethodName()
The method-name element contains a name of an enterprise bean method, or the asterisk (*) character. |
List |
getMethodParams()
The method-params element contains a list of the fully-qualified Java type names of the method parameters.^ |
| Method Detail |
|---|
String getMethodIntf()
The method-intf element must be one of the following:
String getMethodName()
List getMethodParams()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||