/** * Test if the interceptor is applicable. * @return True, if applicable. */ public final boolean isApplicable(ServiceInvocationContext context) { boolean ret = false; if(super.isApplicable(context)) { Boolean app = applicables.get(context.getMethod()); if(app!=null) { ret = app.booleanValue(); } else { ret = customIsApplicable(context); applicables.put(context.getMethod(), ret? Boolean.TRUE: Boolean.FALSE); } } return ret; }
/** * Test if the interceptor is applicable. * @return True, if applicable. */ public final boolean isApplicable(ServiceInvocationContext context) { boolean ret = false; if(super.isApplicable(context)) { Boolean app = applicables.get(context.getMethod()); if(app!=null) { ret = app.booleanValue(); } else { ret = customIsApplicable(context); applicables.put(context.getMethod(), ret? Boolean.TRUE: Boolean.FALSE); } } return ret; }