/** * This constructor performs injection on this instance, * based on the current web application context. * <p>Intended for use as a base class. * @see #processInjectionBasedOnCurrentContext */ public SpringBeanAutowiringSupport() { processInjectionBasedOnCurrentContext(this); }
@Override public void init(ServletConfig config) throws ServletException { super.init(config); SpringBeanAutowiringSupport .processInjectionBasedOnServletContext(this, config.getServletContext()); }
/** * This constructor performs injection on this instance, * based on the current web application context. * <p>Intended for use as a base class. * @see #processInjectionBasedOnCurrentContext */ public SpringBeanAutowiringSupport() { processInjectionBasedOnCurrentContext(this); }
@Override public void init(ServletConfig config) throws ServletException { super.init(config); SpringBeanAutowiringSupport.processInjectionBasedOnServletContext(this, config.getServletContext()); } //CHECKSTYLE:OFF
@Override public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) throws IOException, ServletException { if (backupService == null) { SpringBeanAutowiringSupport.processInjectionBasedOnCurrentContext(this); } String url = ((HttpServletRequest) request).getRequestURI(); if (isBackupFinishJsonUrl(url)) { ((HttpServletResponse) response).setHeader("Cache-Control", "private, max-age=0, no-cache"); ((HttpServletResponse) response).setDateHeader("Expires", 0); generateResponseForIsBackupFinishedAPI(response); return; } if (backupService.isBackingUp() && !isWhitelisted(url)) { String json = "Server is under maintenance mode, please try later."; String htmlResponse = generateHTMLResponse(); new ServerUnavailabilityResponse((HttpServletRequest) request, (HttpServletResponse) response, json, htmlResponse).render(); } else { chain.doFilter(request, response); } }
@Override public void init(ServletConfig config) throws ServletException { super.init(config); SpringBeanAutowiringSupport.processInjectionBasedOnServletContext(this, config.getServletContext()); }
protected EventBus getEventBus() { if(eventBus == null) SpringBeanAutowiringSupport.processInjectionBasedOnCurrentContext(this); return this.eventBus; }
@Override public void init(ServletConfig config) throws ServletException { super.init(config); SpringBeanAutowiringSupport .processInjectionBasedOnServletContext(this, config.getServletContext()); }
/** * Creates a new DefaultNamingScheme and attempts to autowire all of its validators' and generators' dependencies. */ public DefaultNamingScheme() { SpringBeanAutowiringSupport.processInjectionBasedOnCurrentContext(libraryAliasGenerator); }
@Override public void init(ServletConfig config) throws ServletException { super.init(config); SpringBeanAutowiringSupport .processInjectionBasedOnServletContext(this, config.getServletContext()); }
/** * This constructor performs injection on this instance, * based on the current web application context. * <p>Intended for use as a base class. * @see #processInjectionBasedOnCurrentContext */ public SpringBeanAutowiringSupport() { processInjectionBasedOnCurrentContext(this); }
@Override public void init(ServletConfig config) throws ServletException { super.init(config); SpringBeanAutowiringSupport .processInjectionBasedOnServletContext(this, config.getServletContext()); }
protected ProcessToolRegistry getProcessToolRegistry() { if(processToolRegistry == null) SpringBeanAutowiringSupport.processInjectionBasedOnCurrentContext(this); return this.processToolRegistry; }
@Override public void init(ServletConfig config) throws ServletException { super.init(config); SpringBeanAutowiringSupport .processInjectionBasedOnServletContext(this, config.getServletContext()); }
public IUserSource getUserSource() { if(userSource == null) SpringBeanAutowiringSupport.processInjectionBasedOnCurrentContext(this); return userSource; } }
@Override public void init(ServletConfig config) throws ServletException { super.init(config); SpringBeanAutowiringSupport.processInjectionBasedOnServletContext(this, config.getServletContext()); }
protected ProcessToolRegistry getProcessToolRegistry() { if(processToolRegistry == null) SpringBeanAutowiringSupport.processInjectionBasedOnCurrentContext(this); return this.processToolRegistry; }
@Override public void init(ServletConfig config) throws ServletException { SpringBeanAutowiringSupport.processInjectionBasedOnServletContext(this, config.getServletContext()); s_keysMgr = _keysMgr; }
public IAuthorizationService getAuthorizationService() { if(authorizationService == null) SpringBeanAutowiringSupport.processInjectionBasedOnCurrentContext(this); return authorizationService; }
@Override public void init(final ServletConfig config) throws ServletException { SpringBeanAutowiringSupport.processInjectionBasedOnServletContext(this, config.getServletContext()); }