}
public Object createPerJoinpoint(Advisor advisor, Joinpoint jp)
{
// We have to do this until AOP supports matching based on annotation attributes
TransactionManagementType type = TxUtil.getTransactionManagementType(advisor);
if (type == TransactionManagementType.BEAN)
return new BMTInterceptor(TxUtil.getTransactionManager(), !(advisor instanceof StatefulContainer));
Method method = ((MethodJoinpoint) jp).getMethod();
int timeout = resolveTransactionTimeout(advisor, method);