public class ApplicableMethodInformation<T> extends Object
Constructor and Description |
---|
ApplicableMethodInformation(String componentName,
T defaultAttribute) |
Modifier and Type | Method and Description |
---|---|
List<T> |
getAllAttributes(MethodIntf methodIntf,
Method method) |
T |
getAttribute(MethodIntf methodIntf,
Method method) |
T |
getAttribute(MethodIntf methodIntf,
Method method,
MethodIntf defaultMethodIntf) |
T |
getAttributeStyle1(MethodIntf methodIntf,
String className) |
T |
getAttributeStyle2(MethodIntf methodIntf,
String methodName) |
T |
getAttributeStyle3(MethodIntf methodIntf,
String className,
String methodName,
String... methodParams) |
T |
getClassLevelAttribute(String className) |
T |
getDefaultAttribute() |
T |
getViewAttribute(MethodIntf methodIntf,
Method method) |
void |
setAttribute(MethodIntf methodIntf,
String className,
T attribute)
Style 1 (13.3.7.2.1 @1)
|
void |
setAttribute(MethodIntf methodIntf,
T transactionAttribute,
String methodName)
Style 2 (13.3.7.2.1 @2)
|
void |
setAttribute(MethodIntf methodIntf,
T transactionAttribute,
String className,
String methodName,
String... methodParams)
Style 3 (13.3.7.2.1 @3)
|
void |
setDefaultAttribute(T defaultAttribute) |
public T getAttribute(MethodIntf methodIntf, Method method)
public T getAttribute(MethodIntf methodIntf, Method method, MethodIntf defaultMethodIntf)
public List<T> getAllAttributes(MethodIntf methodIntf, Method method)
public T getViewAttribute(MethodIntf methodIntf, Method method)
public T getClassLevelAttribute(String className)
className
- The class namepublic void setAttribute(MethodIntf methodIntf, String className, T attribute)
methodIntf
- the method-intf the annotations apply to or null if EJB class itselfattribute
- public T getAttributeStyle1(MethodIntf methodIntf, String className)
public void setAttribute(MethodIntf methodIntf, T transactionAttribute, String methodName)
methodIntf
- the method-intf the annotations apply to or null if EJB class itselftransactionAttribute
- methodName
- public T getAttributeStyle2(MethodIntf methodIntf, String methodName)
public void setAttribute(MethodIntf methodIntf, T transactionAttribute, String className, String methodName, String... methodParams)
methodIntf
- the method-intf the annotations apply to or null if EJB class itselftransactionAttribute
- methodName
- methodParams
- public T getAttributeStyle3(MethodIntf methodIntf, String className, String methodName, String... methodParams)
public T getDefaultAttribute()
public void setDefaultAttribute(T defaultAttribute)
Copyright © 2018 JBoss by Red Hat. All rights reserved.