@Override protected synchronized void startInternal() throws LifecycleException { super.startInternal(); }
/** {@inheritDoc} */ protected void startInternal() throws LifecycleException { super.startInternal(); logger.info("Starting..."); this.handler.init(); logger.info("Startup completed."); } }
/** {@inheritDoc} */ protected void startInternal() throws LifecycleException { super.startInternal(); logger.info("Starting..."); this.handler.init(); logger.info("Startup completed."); } }
/** {@inheritDoc} */ protected void startInternal() throws LifecycleException { super.startInternal(); logger.info("Starting..."); this.handler.init(); logger.info("Startup completed."); } }
@Override protected synchronized void startInternal() throws LifecycleException { super.startInternal(); router.JMXOn("Router Valve " + System.identityHashCode(this)); }
/** {@inheritDoc} */ protected void startInternal() throws LifecycleException { super.startInternal(); logger.info("Starting..."); this.handler.init(); logger.info("Startup completed."); } }
@Override protected synchronized void startInternal() throws LifecycleException { Container c = getContainer(); while (c != null && !(c instanceof Engine)) { c = c.getParent(); } if (c != null) { engine = (Engine) c; } super.startInternal(); }
@Override protected synchronized void startInternal() throws LifecycleException { if (!allowValid || !denyValid) { throw new LifecycleException( sm.getString("requestFilterValve.configInvalid")); } super.startInternal(); }
@Override protected synchronized void startInternal() throws LifecycleException { Container c = getContainer(); while (c != null && !(c instanceof Engine)) { c = c.getParent(); } if (c != null) { engine = (Engine) c; } super.startInternal(); }
@Override protected synchronized void startInternal() throws LifecycleException { if (!allowValid || !denyValid) { throw new LifecycleException( sm.getString("requestFilterValve.configInvalid")); } super.startInternal(); }
/** {@inheritDoc} */ @Override protected void startInternal() throws LifecycleException { logbackAccessContext.configure(); logbackAccessContext.start(); super.startInternal(); }
@Override protected synchronized void startInternal() throws LifecycleException { if (!allowValid || !denyValid) { throw new LifecycleException( sm.getString("requestFilterValve.configInvalid")); } super.startInternal(); }
@Override protected synchronized void startInternal() throws LifecycleException { if (!allowValid || !denyValid) { throw new LifecycleException( sm.getString("requestFilterValve.configInvalid")); } super.startInternal(); }
@Override protected synchronized void startInternal() throws LifecycleException { if (!allowValid || !denyValid) { throw new LifecycleException( sm.getString("requestFilterValve.configInvalid")); } super.startInternal(); }
@Override protected synchronized void startInternal() throws LifecycleException { setAsyncSupported(false); // wrong but to allow asynchronism even when it is there, TODO: fix it super.startInternal(); LOGGER.fine(ValveCodes.RC_START_VALVE, "Starting request context valve."); }
protected void startInternal() throws LifecycleException { super.startInternal(); try { CommonUtils.assertNotNull(this.proxyCallbackUrl, "the proxy callback url cannot be null"); CommonUtils.assertTrue(this.proxyCallbackUrl.startsWith("/"), "proxy callback url must start with \"/\""); PROXY_GRANTING_TICKET_STORAGE = ReflectUtils.newInstance(proxyGrantingTicketStorageClass); } catch (final Exception e) { throw new LifecycleException(e); } logger.info("Startup completed."); }
protected void startInternal() throws LifecycleException { super.startInternal(); try { CommonUtils.assertNotNull(this.proxyCallbackUrl, "the proxy callback url cannot be null"); CommonUtils.assertTrue(this.proxyCallbackUrl.startsWith("/"), "proxy callback url must start with \"/\""); PROXY_GRANTING_TICKET_STORAGE = ReflectUtils.newInstance(proxyGrantingTicketStorageClass); } catch (final Exception e) { throw new LifecycleException(e); } logger.info("Startup completed."); }
protected void startInternal() throws LifecycleException { super.startInternal(); try { CommonUtils.assertNotNull(this.proxyCallbackUrl, "the proxy callback url cannot be null"); CommonUtils.assertTrue(this.proxyCallbackUrl.startsWith("/"), "proxy callback url must start with \"/\""); PROXY_GRANTING_TICKET_STORAGE = ReflectUtils.newInstance(proxyGrantingTicketStorageClass); } catch (final Exception e) { throw new LifecycleException(e); } logger.info("Startup completed."); }
protected void startInternal() throws LifecycleException { super.startInternal(); try { CommonUtils.assertNotNull(this.proxyCallbackUrl, "the proxy callback url cannot be null"); CommonUtils.assertTrue(this.proxyCallbackUrl.startsWith("/"), "proxy callback url must start with \"/\""); PROXY_GRANTING_TICKET_STORAGE = ReflectUtils.newInstance(proxyGrantingTicketStorageClass); } catch (final Exception e) { throw new LifecycleException(e); } logger.info("Startup completed."); }
/** {@inheritDoc} */ @Override protected void startInternal() throws LifecycleException { // Initializes whether request attributes is enabled. if (requestAttributesEnabled == null) { requestAttributesEnabled = properties.getTomcat().getEnableRequestAttributes(); } if (requestAttributesEnabled == null) { // Deduce the value from the presence of the RemoteIpValve. requestAttributesEnabled = Stream.of(getContainer().getPipeline().getValves()) .map(Object::getClass) .anyMatch(RemoteIpValve.class::isAssignableFrom); } // Configures and starts the Logback-access context. configurator.configure(context); context.start(); super.startInternal(); }