org.glassfish.ejb.deployment
Class BeanMethodCalculatorImpl
java.lang.Object
org.glassfish.ejb.deployment.BeanMethodCalculatorImpl
- All Implemented Interfaces:
- BeanMethodCalculator
@Service
@Scoped(value=org.jvnet.hk2.component.PerLookup.class)
public class BeanMethodCalculatorImpl
- extends Object
- implements BeanMethodCalculator
Utility class to calculate the list of methods required to have transaction
attributes
- Version:
- Author:
- Jerome Dochez
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BeanMethodCalculatorImpl
public BeanMethodCalculatorImpl()
getPossibleCmpCmrFields
public Vector getPossibleCmpCmrFields(ClassLoader cl,
String className)
throws ClassNotFoundException
- Specified by:
getPossibleCmpCmrFields in interface BeanMethodCalculator
- Throws:
ClassNotFoundException
getMethodsFor
public Vector getMethodsFor(EjbDescriptor ejbDescriptor,
ClassLoader classLoader)
throws ClassNotFoundException
- Specified by:
getMethodsFor in interface BeanMethodCalculator
- Throws:
ClassNotFoundException
getTransactionalMethodsFor
public Collection getTransactionalMethodsFor(EjbDescriptor ejbDescriptor,
ClassLoader loader)
throws ClassNotFoundException,
NoSuchMethodException
- Specified by:
getTransactionalMethodsFor in interface BeanMethodCalculator
- Returns:
- a collection of MethodDescriptor for all the methods of my
ejb which are elligible to have a particular transaction setting.
- Throws:
ClassNotFoundException
NoSuchMethodException
getDisallowedMethodsNames
protected Map 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
Copyright © 2012 GlassFish Community. All Rights Reserved.