Package org.glassfish.ejb.deployment
Class BeanMethodCalculatorImpl
java.lang.Object
org.glassfish.ejb.deployment.BeanMethodCalculatorImpl
Utility class to calculate the list of methods required to have transaction attributes
- Author:
- Jerome Dochez
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetMethodsFor(com.sun.enterprise.deployment.EjbDescriptor ejbDescriptor, ClassLoader classLoader) getPossibleCmpCmrFields(ClassLoader cl, String className) Collection<com.sun.enterprise.deployment.MethodDescriptor>getTransactionalMethodsFor(com.sun.enterprise.deployment.EjbDescriptor desc, ClassLoader loader)
-
Constructor Details
-
BeanMethodCalculatorImpl
public BeanMethodCalculatorImpl()
-
-
Method Details
-
getPossibleCmpCmrFields
public Vector<FieldDescriptor> getPossibleCmpCmrFields(ClassLoader cl, String className) throws ClassNotFoundException - Throws:
ClassNotFoundException
-
getMethodsFor
public Vector<Method> getMethodsFor(com.sun.enterprise.deployment.EjbDescriptor ejbDescriptor, ClassLoader classLoader) throws ClassNotFoundException - Throws:
ClassNotFoundException
-
getTransactionalMethodsFor
public Collection<com.sun.enterprise.deployment.MethodDescriptor> getTransactionalMethodsFor(com.sun.enterprise.deployment.EjbDescriptor desc, ClassLoader loader) throws ClassNotFoundException - Returns:
- a collection of MethodDescriptor for all the methods of my ejb which are elligible to have a particular transaction setting.
- Throws:
ClassNotFoundException
-
getDisallowedMethodsNames
- Returns:
- a Map of disallowed methods per interface type. The key to the map is the interface type (e.g. EJBHome, EJBObject), the value is an array of methods names disallowed to have transaction attributes
-