|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.metadata.MetaData (src)
org.jboss.metadata.MethodMetaData
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.
Field Summary | |
static int |
ANY_METHOD
|
static java.lang.String |
HOME_TYPE
|
static java.lang.String |
LOCAL_HOME_TYPE
|
static java.lang.String |
LOCAL_TYPE
|
static java.lang.String |
REMOTE_TYPE
|
static java.lang.String |
SERVICE_ENDPOINT_TYPE
|
Fields inherited from class org.jboss.metadata.MetaData (src) |
log, TX_MANDATORY, TX_NEVER, TX_NOT_SUPPORTED, TX_REQUIRED, TX_REQUIRES_NEW, TX_SUPPORTS, TX_UNKNOWN |
Constructor Summary | |
MethodMetaData()
|
Method Summary | |
java.lang.String |
getEjbName()
|
java.lang.String |
getInterfaceType()
Return the interface type name. |
java.lang.String |
getMethodName()
|
java.lang.String[] |
getMethodParams()
The |
java.util.Iterator |
getParams()
The method param type names. |
java.util.Set |
getRoles()
|
byte |
getTransactionType()
|
void |
importEjbJarXml(org.w3c.dom.Element element)
Non-operation. |
boolean |
isExcluded()
|
boolean |
isHomeMethod()
|
boolean |
isIntfGiven()
|
boolean |
isLocalHomeMethod()
|
boolean |
isLocalMethod()
|
boolean |
isParamGiven()
|
boolean |
isRemoteMethod()
|
boolean |
isServiceEndpointMethod()
|
boolean |
isUnchecked()
|
boolean |
patternMatches(java.lang.String name,
java.lang.Class[] arg,
InvocationType (src) iface)
|
boolean |
patternMatches(java.lang.String name,
java.lang.String[] arg,
InvocationType (src) iface)
|
void |
setExcluded()
|
void |
setRoles(java.util.Set perm)
|
void |
setTransactionType(byte type)
|
void |
setUnchecked()
|
Methods inherited from class org.jboss.metadata.MetaData (src) |
clone, getChildrenByTagName, getElementAttribute, getElementContent, getElementContent, getFirstElementContent, getOptionalChild, getOptionalChild, getOptionalChildBooleanContent, getOptionalChildBooleanContent, getOptionalChildContent, getOptionalChildContent, getUniqueChild, getUniqueChildContent, importJbossXml, importXml, jdk13Enabled |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int ANY_METHOD
public static java.lang.String HOME_TYPE
public static java.lang.String LOCAL_HOME_TYPE
public static java.lang.String REMOTE_TYPE
public static java.lang.String LOCAL_TYPE
public static java.lang.String SERVICE_ENDPOINT_TYPE
Constructor Detail |
public MethodMetaData()
Method Detail |
public java.lang.String getMethodName()
public java.lang.String getEjbName()
public boolean isHomeMethod()
public boolean isRemoteMethod()
public boolean isLocalHomeMethod()
public boolean isLocalMethod()
public boolean isServiceEndpointMethod()
public java.lang.String getInterfaceType()
public boolean isUnchecked()
public boolean isExcluded()
public boolean isIntfGiven()
public boolean isParamGiven()
public java.util.Iterator getParams()
public java.lang.String[] getMethodParams()
public byte getTransactionType()
public void setTransactionType(byte type)
public java.util.Set getRoles()
public void setRoles(java.util.Set perm)
public void setUnchecked()
public void setExcluded()
public boolean patternMatches(java.lang.String name, java.lang.Class[] arg, InvocationType (src) iface)
public boolean patternMatches(java.lang.String name, java.lang.String[] arg, InvocationType (src) iface)
public void importEjbJarXml(org.w3c.dom.Element element) throws DeploymentException (src)
MetaData (src)
importEjbJarXml
in class MetaData (src)
element
-
DeploymentException (src)
|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |