Category(String name) { this.name = createName(name); }
@Override public final void catchingTrace(final Throwable arg0) { super.log.logf(FQCN, org.jboss.logging.Logger.Level.TRACE, arg0, catchingTrace$str()); } private static final String catchingTrace = "Catching";
@Override public final void catchingDebug(final Throwable arg0) { super.log.logf(FQCN, org.jboss.logging.Logger.Level.DEBUG, arg0, catchingDebug$str()); } private static final String catchingDebug = "Catching";
@Override public final void beanManagerReferenceBoundTo(final Object param1) { super.log.logv(FQCN, org.jboss.logging.Logger.Level.INFO, null, beanManagerReferenceBoundTo$str(), param1); } private static final String beanManagerReferenceBoundTo = "WELD-ENV-001012: BeanManager reference bound to {0}.";
@Override public final void initializeWeldUsingServletContextListener() { super.log.logf(FQCN, org.jboss.logging.Logger.Level.INFO, null, initializeWeldUsingServletContextListener$str()); } private static final String initializeWeldUsingServletContextListener = "WELD-ENV-001007: Initialize Weld using ServletContextListener";
@Override public final void catchingDebug(final Throwable arg0) { super.log.logf(FQCN, org.jboss.logging.Logger.Level.DEBUG, arg0, catchingDebug$str()); } private static final String catchingDebug = "Catching";
@Override public final void jettyDetectedListenersInjectionIsSupported() { super.log.logf(FQCN, org.jboss.logging.Logger.Level.INFO, null, jettyDetectedListenersInjectionIsSupported$str()); } private static final String jettyDetectedListenersInjectionIsSupported = "WELD-ENV-001200: Jetty 7.2+ detected, CDI injection will be available in Servlets and Filters. Injection into Listeners should work on Jetty 9.1.1 and newer.";
@Override public final void successfullyUnboundBeanManagerReference() { super.log.logf(FQCN, org.jboss.logging.Logger.Level.INFO, null, successfullyUnboundBeanManagerReference$str()); } private static final String successfullyUnboundBeanManagerReference = "WELD-ENV-001013: Successfully unbound BeanManager reference.";
private int parseVersion(String version) { try { return Integer.parseInt(version); } catch (NumberFormatException e) { JettyLogger.LOG.debugv("Unable to parse version string: {0}", version); return -1; } }
@Override public final void unableToCreateJettyWeldInjector(final Throwable cause) { super.log.logf(FQCN, org.jboss.logging.Logger.Level.ERROR, cause, unableToCreateJettyWeldInjector$str()); } private static final String unableToCreateJettyWeldInjector = "WELD-ENV-001202: Unable to create JettyWeldInjector. CDI injection will not be available in Servlets, Filters or Listeners.";
@Override public final void undertowDetected() { super.log.logf(FQCN, org.jboss.logging.Logger.Level.INFO, null, undertowDetected$str()); } private static final String undertowDetected = "WELD-ENV-001302: Undertow detected, CDI injection will be available in Servlets, Filters and Listeners.";
protected JettyWeldInjector getInjector() { if (injector == null) { JettyWeldInjector jwi = (JettyWeldInjector) servletContext.getAttribute(AbstractJettyContainer.INJECTOR_ATTRIBUTE_NAME); if (jwi == null) { throw JettyLogger.LOG.noSuchJettyInjectorFound(); } injector = jwi; } return injector; }
@Override public final void foundBothConfiguration(final Object param1) { super.log.logv(FQCN, org.jboss.logging.Logger.Level.WARN, null, foundBothConfiguration$str(), param1); } private static final String foundBothConfiguration = "WELD-ENV-001004: Found both WEB-INF/beans.xml and WEB-INF/classes/META-INF/beans.xml. It is not portable to use both locations at the same time. Weld is going to use: {0}";
@Override public final void couldNotReadContext(final Object param1) { super.log.logv(FQCN, org.jboss.logging.Logger.Level.INFO, null, couldNotReadContext$str(), param1); } private static final String couldNotReadContext = "WELD-ENV-001011: Could not read context {0}: Trying to create it!";
@Override public final void cantFindInjector(final Object param1) { super.log.logv(FQCN, org.jboss.logging.Logger.Level.WARN, null, cantFindInjector$str(), param1); } private static final String cantFindInjector = "WELD-ENV-001204: Can't find Injector in the servlet context so injection is not available for {0}.";
@Override public final void unableToInstantiateCustomContainerClass(final Object param1) { super.log.logv(FQCN, org.jboss.logging.Logger.Level.WARN, null, unableToInstantiateCustomContainerClass$str(), param1); } private static final String unableToInstantiateCustomContainerClass = "WELD-ENV-001003: Unable to instantiate custom container class: {0}.";
Category(String name) { this.name = createName(name); }
@Override public final void beanManagerReferenceBoundTo(final Object param1) { super.log.logv(FQCN, org.jboss.logging.Logger.Level.INFO, null, beanManagerReferenceBoundTo$str(), param1); } private static final String beanManagerReferenceBoundTo = "WELD-ENV-001012: BeanManager reference bound to {0}.";
@Override public final void catchingTrace(final Throwable arg0) { super.log.logf(FQCN, org.jboss.logging.Logger.Level.TRACE, arg0, catchingTrace$str()); } private static final String catchingTrace = "Catching";
Category(String name) { this.name = createName(name); }