当前页面:
在线文档首页 >
JBoss 3.2.7 server API Documentation 英文版文档
MethodMetaData (JBoss Server API) - JBoss 3.2.7 server API Documentation 英文版文档
org.jboss.metadata
Class MethodMetaData
java.lang.Object
org.jboss.metadata.MetaData
org.jboss.metadata.MethodMetaData
- All Implemented Interfaces:
- Cloneable, XmlLoadable
- public class MethodMetaData
- extends MetaData
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.
- Version:
- $Revision: 1.13.2.1 $
- Author:
- Sebastien Alborini, Scott Stark.
Methods inherited from class org.jboss.metadata.MetaData |
clone, getChildrenByTagName, getElementAttribute, getElementContent, getElementContent, getFirstElementContent, getOptionalChild, getOptionalChild, getOptionalChildBooleanContent, getOptionalChildContent, getUniqueChild, getUniqueChildContent, importJbossXml, importXml, jdk13Enabled |
ANY_METHOD
public static final int ANY_METHOD
- See Also:
- Constant Field Values
MethodMetaData
public MethodMetaData()
getMethodName
public String getMethodName()
getEjbName
public String getEjbName()
isHomeMethod
public boolean isHomeMethod()
isRemoteMethod
public boolean isRemoteMethod()
isLocalHomeMethod
public boolean isLocalHomeMethod()
isLocalMethod
public boolean isLocalMethod()
isUnchecked
public boolean isUnchecked()
isExcluded
public boolean isExcluded()
isIntfGiven
public boolean isIntfGiven()
isParamGiven
public boolean isParamGiven()
getParams
public Iterator getParams()
getTransactionType
public byte getTransactionType()
setTransactionType
public void setTransactionType(byte type)
getRoles
public Set getRoles()
setRoles
public void setRoles(Set perm)
setUnchecked
public void setUnchecked()
setExcluded
public void setExcluded()
patternMatches
public boolean patternMatches(String name,
Class[] arg,
InvocationType iface)
patternMatches
public boolean patternMatches(String name,
String[] arg,
InvocationType iface)
importEjbJarXml
public void importEjbJarXml(Element element)
throws org.jboss.deployment.DeploymentException
- Description copied from class:
MetaData
- Non-operation.
- Overrides:
importEjbJarXml
in class MetaData
- Parameters:
element
-
- Throws:
org.jboss.deployment.DeploymentException
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.