public class ContainerTransactionMetaData extends IdMetaDataImplWithDescriptions implements ExtendableMetaData
| Constructor and Description |
|---|
ContainerTransactionMetaData()
Create a new MethodPermissionMetaData.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addAny(Object a) |
MethodMetaData |
bestMatch(String methodName,
Class[] params,
MethodInterfaceType interfaceType,
MethodMetaData bestMatch)
Whether this matches
|
ContainerTransactionMetaData |
clone() |
<T> List<T> |
getAny(Class<T> type) |
ContainerTransactionMetaData |
getContainerTransactionsByEjbName(String ejbName)
Get the container transaction for an ejb
|
MethodsMetaData |
getMethods()
Get the methods.
|
javax.ejb.TransactionAttributeType |
getTransAttribute()
Get the transactionAttribute.
|
boolean |
matches(String methodName,
Class[] params,
MethodInterfaceType interfaceType)
Whether this matches
|
void |
setMethods(MethodsMetaData methods)
Set the methods.
|
void |
setTransAttribute(javax.ejb.TransactionAttributeType transactionAttribute)
Set the transactionAttribute.
|
getDescriptions, setDescriptionsequals, getId, hashCode, setIdpublic ContainerTransactionMetaData()
public void addAny(Object a)
addAny in interface ExtendableMetaDatapublic <T> List<T> getAny(Class<T> type)
getAny in interface ExtendableMetaDatapublic MethodsMetaData getMethods()
public void setMethods(MethodsMetaData methods)
methods - the methods.IllegalArgumentException - for a null methodspublic javax.ejb.TransactionAttributeType getTransAttribute()
public void setTransAttribute(javax.ejb.TransactionAttributeType transactionAttribute)
transactionAttribute - the transactionAttribute.IllegalArgumentException - for a null transactionAttributepublic ContainerTransactionMetaData getContainerTransactionsByEjbName(String ejbName)
ejbName - the ejb nameIllegalArgumentException - for a null ejb namepublic boolean matches(String methodName, Class[] params, MethodInterfaceType interfaceType)
methodName - the method nameparams - the parametersinterfaceType - the interface typepublic MethodMetaData bestMatch(String methodName, Class[] params, MethodInterfaceType interfaceType, MethodMetaData bestMatch)
methodName - the method nameparams - the parametersinterfaceType - the interface typebestMatch - the previous best matchpublic ContainerTransactionMetaData clone()
clone in class IdMetaDataImplCopyright © 2019 JBoss by Red Hat. All rights reserved.