Package org.apache.openejb.jee
Class Method
- java.lang.Object
-
- org.apache.openejb.jee.Method
-
public class Method extends Object
ejb-jar_3_1.xsdJava class for methodType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="methodType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="description" type="{http://java.sun.com/xml/ns/javaee}descriptionType" maxOccurs="unbounded" minOccurs="0"/> <element name="ejb-name" type="{http://java.sun.com/xml/ns/javaee}ejb-nameType"/> <element name="method-intf" type="{http://java.sun.com/xml/ns/javaee}method-intfType" minOccurs="0"/> <element name="method-name" type="{http://java.sun.com/xml/ns/javaee}method-nameType"/> <element name="method-params" type="{http://java.sun.com/xml/ns/javaee}method-paramsType" minOccurs="0"/> </sequence> <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" /> </restriction> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected StringclassNameprotected TextMapdescriptionprotected StringejbNameprotected Stringidprotected MethodIntfmethodIntfprotected StringmethodNameprotected MethodParamsmethodParams
-
Constructor Summary
Constructors Constructor Description Method()Method(String ejbName, Method method)Method(String ejbName, String methodName)Method(String ejbName, String className, String methodName)Method(String ejbName, String methodName, String... parameters)Method(String ejbName, String className, String methodName, String... parameters)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetClassName()StringgetDescription()Text[]getDescriptions()StringgetEjbName()StringgetId()MethodIntfgetMethodIntf()StringgetMethodName()MethodParamsgetMethodParams()voidsetDescriptions(Text[] text)voidsetEjbName(String value)The ejb-nameType specifies an enterprise bean's name.voidsetId(String value)voidsetMethodIntf(MethodIntf value)voidsetMethodName(String value)contains a name of an enterprise bean method or the asterisk (*) character.voidsetMethodParams(MethodParams value)MethodwithInterface(MethodIntf methodIntf)
-
-
-
Field Detail
-
description
protected TextMap description
-
ejbName
protected String ejbName
-
className
protected String className
-
methodIntf
protected MethodIntf methodIntf
-
methodName
protected String methodName
-
methodParams
protected MethodParams methodParams
-
id
protected String id
-
-
Method Detail
-
getClassName
public String getClassName()
-
getDescriptions
public Text[] getDescriptions()
-
setDescriptions
public void setDescriptions(Text[] text)
-
getDescription
public String getDescription()
-
getEjbName
public String getEjbName()
-
setEjbName
public void setEjbName(String value)
The ejb-nameType specifies an enterprise bean's name. It is used by ejb-name elements. This name is assigned by the ejb-jar file producer to name the enterprise bean in the ejb-jar file's deployment descriptor. The name must be unique among the names of the enterprise beans in the same ejb-jar file. There is no architected relationship between the used ejb-name in the deployment descriptor and the JNDI name that the Deployer will assign to the enterprise bean's home. The name for an entity bean must conform to the lexical rules for an NMTOKEN. Example:EmployeeService
-
getMethodIntf
public MethodIntf getMethodIntf()
-
setMethodIntf
public void setMethodIntf(MethodIntf value)
-
withInterface
public Method withInterface(MethodIntf methodIntf)
-
getMethodName
public String getMethodName()
-
setMethodName
public void setMethodName(String value)
contains a name of an enterprise bean method or the asterisk (*) character. The asterisk is used when the element denotes all the methods of an enterprise bean's client view interfaces.
-
getMethodParams
public MethodParams getMethodParams()
-
setMethodParams
public void setMethodParams(MethodParams value)
-
getId
public String getId()
-
setId
public void setId(String value)
-
-