Interface CommonLogger

  • All Superinterfaces:
    org.jboss.logging.BasicLogger, WeldEnvironmentLogger
    All Known Implementing Classes:
    CommonLogger_$logger

    @MessageLogger(projectCode="WELD-ENV-")
    public interface CommonLogger
    extends WeldEnvironmentLogger
    Message IDs: 000002 - 000099
    Author:
    Matej Briškár, Martin Kouba, Kirill Gaevskii
    • Method Detail

      • couldNotReadResource

        @LogMessage(level=WARN)
        @Message(id=2,
                 value="Could not read resource with name: {0}",
                 format=MESSAGE_FORMAT)
        void couldNotReadResource​(Object param1,
                                  @Cause
                                  Throwable cause)
      • unexpectedClassLoader

        @LogMessage(level=WARN)
        @Message(id=4,
                 value="Could not invoke JNLPClassLoader#getJarFile(URL) on context class loader, expecting Web Start class loader",
                 format=MESSAGE_FORMAT)
        void unexpectedClassLoader​(@Cause
                                   Throwable cause)
      • jnlpClassLoaderInternalException

        @LogMessage(level=WARN)
        @Message(id=5,
                 value="JNLPClassLoader#getJarFile(URL) threw exception",
                 format=MESSAGE_FORMAT)
        void jnlpClassLoaderInternalException​(@Cause
                                              Throwable cause)
      • jnlpClassLoaderInvocationException

        @LogMessage(level=WARN)
        @Message(id=6,
                 value="Could not invoke JNLPClassLoader#getJarFile(URL) on context class loader",
                 format=MESSAGE_FORMAT)
        void jnlpClassLoaderInvocationException​(@Cause
                                                Throwable cause)
      • cannotHandleFilePath

        @LogMessage(level=WARN)
        @Message(id=7,
                 value="Error handling file path\n  File: {0}\n  Path: {1}",
                 format=MESSAGE_FORMAT)
        void cannotHandleFilePath​(Object file,
                                  Object path,
                                  @Cause
                                  Throwable cause)
      • couldNotOpenStreamForURL

        @LogMessage(level=WARN)
        @Message(id=10,
                 value="Could not open the stream on the url {0} when adding to the jandex index.",
                 format=MESSAGE_FORMAT)
        void couldNotOpenStreamForURL​(Object param1,
                                      @Cause
                                      Throwable cause)
      • couldNotCloseStreamForURL

        @LogMessage(level=WARN)
        @Message(id=11,
                 value="Could not close the stream on the url {0} when adding to the jandex index.",
                 format=MESSAGE_FORMAT)
        void couldNotCloseStreamForURL​(Object param1,
                                       @Cause
                                       Throwable cause)
      • unableToLoadClass

        @Message(id=12,
                 value="Unable to load class {0}",
                 format=MESSAGE_FORMAT)
        org.jboss.weld.resources.spi.ClassFileInfoException unableToLoadClass​(Object param1)
      • undefinedBeanDiscoveryValue

        @Message(id=13,
                 value="beans.xml defines unrecognized bean-discovery-mode value: {0}",
                 format=MESSAGE_FORMAT)
        IllegalStateException undefinedBeanDiscoveryValue​(Object param1)
      • reflectionFallback

        @LogMessage(level=INFO)
        @Message(id=14,
                 value="Falling back to Java Reflection for bean-discovery-mode=\"annotated\" discovery. Add org.jboss:jandex to the classpath to speed-up startup.",
                 format=MESSAGE_FORMAT)
        void reflectionFallback()
      • unableToLoadAnnotation

        @Message(id=15,
                 value="Unable to load annotation: {0}",
                 format=MESSAGE_FORMAT)
        org.jboss.weld.resources.spi.ClassFileInfoException unableToLoadAnnotation​(Object param1)
      • missingBeansXml

        @Message(id=16,
                 value="Missing beans.xml file in META-INF",
                 format=MESSAGE_FORMAT)
        IllegalStateException missingBeansXml()
      • unableToResolveBean

        @Message(id=18,
                 value="Unable to resolve a bean for {0} with bindings {1}",
                 format=MESSAGE_FORMAT)
        jakarta.enterprise.inject.UnsatisfiedResolutionException unableToResolveBean​(Object param1,
                                                                                     Object param2)
      • jandexIndexNotCreated

        @Message(id=19,
                 value="Jandex index is null in the constructor of class: {0}",
                 format=MESSAGE_FORMAT)
        IllegalStateException jandexIndexNotCreated​(Object param1)
      • usingJandex

        @LogMessage(level=INFO)
        @Message(id=20,
                 value="Using jandex for bean discovery",
                 format=MESSAGE_FORMAT)
        void usingJandex()
      • archiveIsolationDisabled

        @LogMessage(level=DEBUG)
        @Message(id=23,
                 value="Archive isolation disabled - only one bean archive will be created",
                 format=MESSAGE_FORMAT)
        void archiveIsolationDisabled()
      • archiveIsolationEnabled

        @LogMessage(level=DEBUG)
        @Message(id=24,
                 value="Archive isolation enabled - creating multiple isolated bean archives if needed",
                 format=MESSAGE_FORMAT)
        void archiveIsolationEnabled()
      • indexForNameNotFound

        @Message(id=25,
                 value="Index for name: {0} not found.",
                 format=MESSAGE_FORMAT)
        org.jboss.weld.resources.spi.ClassFileInfoException indexForNameNotFound​(Object param1)
      • unableToInstantiate

        @Message(id=26,
                 value="Unable to instantiate {0} using parameters: {1}.",
                 format=MESSAGE_FORMAT)
        IllegalStateException unableToInstantiate​(Object param1,
                                                  Object param2,
                                                  @Cause
                                                  Throwable cause)
      • initSkippedNoBeanArchiveFound

        @LogMessage(level=WARN)
        @Message(id=28,
                 value="Weld initialization skipped - no bean archive found")
        void initSkippedNoBeanArchiveFound()
      • cannotLoadClassUsingResourceLoader

        @LogMessage(level=DEBUG)
        @Message(id=30,
                 value="Cannot load class using the ResourceLoader: {0}",
                 format=MESSAGE_FORMAT)
        void cannotLoadClassUsingResourceLoader​(String className)
      • beanArchiveReferenceCannotBeHandled

        @LogMessage(level=WARN)
        @Message(id=31,
                 value="The bean archive reference {0} cannot be handled by any BeanArchiveHandler: {1}",
                 format=MESSAGE_FORMAT)
        void beanArchiveReferenceCannotBeHandled​(Object beanArchiveRef,
                                                 Object handlers)
      • processingBeanArchiveReference

        @LogMessage(level=DEBUG)
        @Message(id=32,
                 value="Processing bean archive reference: {0}",
                 format=MESSAGE_FORMAT)
        void processingBeanArchiveReference​(Object beanArchiveRef)
      • invalidScanningResult

        @Message(id=33,
                 value="Invalid bean archive scanning result - found multiple results with the same reference: {0}",
                 format=MESSAGE_FORMAT)
        IllegalStateException invalidScanningResult​(Object beanArchiveRef)
      • cannotScanClassPathEntry

        @Message(id=34,
                 value="Cannot scan class path entry: {0}",
                 format=MESSAGE_FORMAT)
        IllegalStateException cannotScanClassPathEntry​(Object entry,
                                                       @Cause
                                                       Throwable cause)
      • cannotReadClassPathEntry

        @Message(id=35,
                 value="Class path entry does not exist or cannot be read: {0}",
                 format=MESSAGE_FORMAT)
        IllegalStateException cannotReadClassPathEntry​(Object entry)
      • cannotReadJavaClassPathSystemProperty

        @Message(id=36,
                 value="Weld cannot read the java class path system property!",
                 format=MESSAGE_FORMAT)
        IllegalStateException cannotReadJavaClassPathSystemProperty()
      • unableToInitializeProbeComponent

        @Message(id=37,
                 value="Unable to initialize the Probe component: {0}",
                 format=MESSAGE_FORMAT)
        IllegalStateException unableToInitializeProbeComponent​(Object component,
                                                               @Cause
                                                               Throwable cause)
      • probeComponentNotFoundOnClasspath

        @Message(id=38,
                 value="Development mode is enabled but the following Probe component is not found on the classpath: {0}",
                 format=MESSAGE_FORMAT)
        IllegalStateException probeComponentNotFoundOnClasspath​(Object component)
      • beanArchiveReferenceHandled

        @LogMessage(level=DEBUG)
        @Message(id=39,
                 value="Bean archive reference {0} handled by {1}",
                 format=MESSAGE_FORMAT)
        void beanArchiveReferenceHandled​(Object beanArchiveRef,
                                         Object handler)
      • jandexDiscoveryStrategyDisabled

        @LogMessage(level=INFO)
        @Message(id=40,
                 value="Jandex discovery strategy was disabled.",
                 format=MESSAGE_FORMAT)
        void jandexDiscoveryStrategyDisabled()
      • usingServiceLoaderSourcedDiscoveryStrategy

        @LogMessage(level=INFO)
        @Message(id=41,
                 value="Using {0} for bean discovery",
                 format=MESSAGE_FORMAT)
        void usingServiceLoaderSourcedDiscoveryStrategy​(Object discoveryStrategy)