spring aop切面中获取代理bean的名字以及bean

//切面中搞:
Map<String , Object> map = (Map)ApplicationContextHelper.getBean(proceedingJoinPoint.getTarget().getClass());
        ExcelDistributedReadIntf intf = null;
        String beanid = "";
        for (String key : map.keySet()) {
            beanid = key;
            intf = (ExcelDistributedReadIntf)map.get(key);
        }

原文地址:https://www.cnblogs.com/zxporz/p/spring.html