| java.lang.Object org.jboss.metadata.MetaData org.jboss.metadata.MethodMetaData
MethodMetaData | public class MethodMetaData extends MetaData (Code) | | The combination of the method-permission, container-transaction
The method-permission element specifies that one or more security
roles are allowed to invoke one or more enterprise bean methods. The
method-permission element consists of an optional description, a list
of security role names, or an indicator to specify that the methods
are not to be checked for authorization, and a list of method elements.
The security roles used in the method-permission element must be
defined in the security-role element of the deployment descriptor,
and the methods must be methods defined in the enterprise bean’s component
and/or home interfaces.
The container-transaction element specifies how the container must
manage transaction scopes for the enterprise bean’s method invocations.
The element consists of an optional description, a list of
method elements, and a transaction attribute. The transaction
attribute is to be applied to all the specified methods.
author: Sebastien Alborini author: Scott Stark. version: $Revision: 57209 $ |
ANY_METHOD | final public static int ANY_METHOD(Code) | | |
SERVICE_ENDPOINT_TYPE | public static String SERVICE_ENDPOINT_TYPE(Code) | | |
MethodMetaData | public MethodMetaData()(Code) | | |
getInterfaceType | public String getInterfaceType()(Code) | | Return the interface type name.
one of "Home", "LocalHome", "Remote", "Local", "ServiceEndpoint",or null if no interface was specified. |
getMethodParams | public String[] getMethodParams()(Code) | | The
An array of the method parameter type names |
getParams | public Iterator getParams()(Code) | | The method param type names.
|
getTransactionType | public byte getTransactionType()(Code) | | |
importEjbJarXml | public void importEjbJarXml(Element element) throws DeploymentException(Code) | | Parameters: a - method element |
isExcluded | public boolean isExcluded()(Code) | | |
isHomeMethod | public boolean isHomeMethod()(Code) | | |
isIntfGiven | public boolean isIntfGiven()(Code) | | |
isLocalHomeMethod | public boolean isLocalHomeMethod()(Code) | | |
isLocalMethod | public boolean isLocalMethod()(Code) | | |
isParamGiven | public boolean isParamGiven()(Code) | | |
isRemoteMethod | public boolean isRemoteMethod()(Code) | | |
isServiceEndpointMethod | public boolean isServiceEndpointMethod()(Code) | | |
isUnchecked | public boolean isUnchecked()(Code) | | |
setExcluded | public void setExcluded()(Code) | | |
setTransactionType | public void setTransactionType(byte type)(Code) | | |
setUnchecked | public void setUnchecked()(Code) | | |
Methods inherited from org.jboss.metadata.MetaData | public Object clone()(Code)(Java Doc) public static Iterator getChildrenByTagName(Element element, String tagName)(Code)(Java Doc) public static String getElementAttribute(Element element, String attrName)(Code)(Java Doc) public static String getElementAttribute(Element element, String attrName, boolean replace)(Code)(Java Doc) public static String getElementContent(Element element)(Code)(Java Doc) public static String getElementContent(Element element, String defaultStr)(Code)(Java Doc) public static String getElementContent(Element element, String defaultStr, boolean replace)(Code)(Java Doc) public static String getFirstElementContent(Element element, String defaultStr)(Code)(Java Doc) public static String getFirstElementContent(Element element, String defaultStr, boolean replace)(Code)(Java Doc) public static Element getOptionalChild(Element element, String tagName) throws DeploymentException(Code)(Java Doc) public static Element getOptionalChild(Element element, String tagName, Element defaultElement) throws DeploymentException(Code)(Java Doc) public static boolean getOptionalChildBooleanContent(Element element, String name) throws DeploymentException(Code)(Java Doc) public static boolean getOptionalChildBooleanContent(Element element, String name, boolean defaultValue) throws DeploymentException(Code)(Java Doc) public static String getOptionalChildContent(Element element, String tagName) throws DeploymentException(Code)(Java Doc) public static String getOptionalChildContent(Element element, String tagName, String defaultValue) throws DeploymentException(Code)(Java Doc) public static Element getUniqueChild(Element element, String tagName) throws DeploymentException(Code)(Java Doc) public static String getUniqueChildContent(Element element, String tagName) throws DeploymentException(Code)(Java Doc) public void importEjbJarXml(Element element) throws DeploymentException(Code)(Java Doc) public void importJbossXml(Element element) throws DeploymentException(Code)(Java Doc) public void importXml(Element element) throws DeploymentException(Code)(Java Doc) protected boolean jdk13Enabled()(Code)(Java Doc)
|
|
|