private boolean isEEModulesAwareEnvironment() { return !Environments.SE.equals(environment); }
static boolean isAnnotationClassExpected(InterceptionType interceptionType) { if (InterceptionType.POST_ACTIVATE.equals(interceptionType) || InterceptionType.PRE_PASSIVATE.equals(interceptionType)) { Environment environment = Container.getEnvironment(); if (environment != null && (Environments.SE.equals(environment) || Environments.SERVLET.equals(environment))) { return false; } } return true; } }
static boolean isAnnotationClassExpected(InterceptionType interceptionType) { if (InterceptionType.POST_ACTIVATE.equals(interceptionType) || InterceptionType.PRE_PASSIVATE.equals(interceptionType)) { Environment environment = Container.getEnvironment(); if (environment != null && (Environments.SE.equals(environment) || Environments.SERVLET.equals(environment))) { return false; } } return true; } }
static boolean isAnnotationClassExpected(InterceptionType interceptionType) { if (InterceptionType.POST_ACTIVATE.equals(interceptionType) || InterceptionType.PRE_PASSIVATE.equals(interceptionType)) { Environment environment = Container.getEnvironment(); if (environment != null && (Environments.SE.equals(environment) || Environments.SERVLET.equals(environment))) { return false; } } return true; } }
static boolean isAnnotationClassExpected(InterceptionType interceptionType) { if (InterceptionType.POST_ACTIVATE.equals(interceptionType) || InterceptionType.PRE_PASSIVATE.equals(interceptionType)) { Environment environment = Container.getEnvironment(); if (environment != null && (Environments.SE.equals(environment) || Environments.SERVLET.equals(environment))) { return false; } } return true; } }
static boolean isAnnotationClassExpected(InterceptionType interceptionType) { if (InterceptionType.POST_ACTIVATE.equals(interceptionType) || InterceptionType.PRE_PASSIVATE.equals(interceptionType)) { Environment environment = Container.getEnvironment(); if (environment != null && (Environments.SE.equals(environment) || Environments.SERVLET.equals(environment))) { return false; } } return true; } }
static boolean isAnnotationClassExpected(InterceptionType interceptionType) { if (InterceptionType.POST_ACTIVATE.equals(interceptionType) || InterceptionType.PRE_PASSIVATE.equals(interceptionType)) { Environment environment = detectEnvironment(); if (environment != null && (Environments.SE.equals(environment) || Environments.SERVLET.equals(environment))) { return false; } } return true; }