本文整理汇总了Java中javax.mvc.event.AfterControllerEvent类的典型用法代码示例。如果您正苦于以下问题:Java AfterControllerEvent类的具体用法?Java AfterControllerEvent怎么用?Java AfterControllerEvent使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
AfterControllerEvent类属于javax.mvc.event包,在下文中一共展示了AfterControllerEvent类的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: onAfterController
import javax.mvc.event.AfterControllerEvent; //导入依赖的package包/类
private void onAfterController(@Observes AfterControllerEvent e) {
logger.info(() -> "Controller executed : " + e.getResourceInfo().getResourceMethod());
}
示例2: getAfterControllerEvent
import javax.mvc.event.AfterControllerEvent; //导入依赖的package包/类
public AfterControllerEvent getAfterControllerEvent() {
return afterControllerEvent;
}
示例3: setAfterControllerEvent
import javax.mvc.event.AfterControllerEvent; //导入依赖的package包/类
public void setAfterControllerEvent(AfterControllerEvent afterControllerEvent) {
this.afterControllerEvent = afterControllerEvent;
}
示例4: afterControllerEvent
import javax.mvc.event.AfterControllerEvent; //导入依赖的package包/类
public void afterControllerEvent(@Observes AfterControllerEvent event) {
if (eventBean.getBeforeControllerEvent() == null) {
throw new WebApplicationException("BeforeController event not fired?");
}
eventBean.setAfterControllerEvent(event);
}
示例5: onAfterController
import javax.mvc.event.AfterControllerEvent; //导入依赖的package包/类
public void onAfterController(@Observes AfterControllerEvent event) {
System.out.println("After Controller");
}