2012.05.30

html 加粗 <b></b>

extjs tree panel,树显示时默认查询一级节点,树未显示时调用tree.expandAll();将报错

session.createQuery(hql).uniqueResult();

spring 通知:

@Before("anyMethod() && args(name)")    //前置通知

public void doBefore(String name) {}

@AfterReturning(pointcut="andMethod()", returning="result")    //后置通知

public void doAfterReturning(String result) {}

@After("");    //最终通知

@AfterThrowing(pointcut="andMethod()", throwing="e")    //例外通知

public void doAfterThrowing(Exception e) {}

@Around("")    //环绕通知

public Object doAround(ProceedingJoinPoint pjp) throws Throwable {

Object result = pjp.proceed();    //执行目标方法

return result;

}

例外通知和最终通知的执行顺序与注解或xml配置的先后顺序有关?

你可能感兴趣的:(2012.05.30)