Interface WeldServletLogger

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

    @MessageLogger(projectCode="WELD-ENV-")
    public interface WeldServletLogger
    extends org.jboss.weld.environment.logging.WeldEnvironmentLogger
    Message IDs: 001000 - 001099
    Author:
    Kirill Gaevskii
    • Method Detail

      • resourceInjectionNotAvailable

        @LogMessage(level=WARN)
        @Message(id=1000,
                 value="@Resource injection not available in simple beans")
        void resourceInjectionNotAvailable()
      • noSupportedServletContainerDetected

        @LogMessage(level=INFO)
        @Message(id=1001,
                 value="No supported servlet container detected, CDI injection will NOT be available in Servlets, Filters or Listeners")
        void noSupportedServletContainerDetected()
      • containerDetectionSkipped

        @LogMessage(level=INFO)
        @Message(id=1002,
                 value="Container detection skipped - custom container class loaded: {0}.",
                 format=MESSAGE_FORMAT)
        void containerDetectionSkipped​(Object param1)
      • unableToInstantiateCustomContainerClass

        @LogMessage(level=WARN)
        @Message(id=1003,
                 value="Unable to instantiate custom container class: {0}.",
                 format=MESSAGE_FORMAT)
        void unableToInstantiateCustomContainerClass​(Object param1)
      • foundBothConfiguration

        @LogMessage(level=WARN)
        @Message(id=1004,
                 value="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}",
                 format=MESSAGE_FORMAT)
        void foundBothConfiguration​(Object param1)
      • enhancedListenerUsedForNotifications

        @LogMessage(level=INFO)
        @Message(id=1006,
                 value="org.jboss.weld.environment.servlet.EnhancedListener used to initialize Weld")
        void enhancedListenerUsedForNotifications()
      • initializeWeldUsingServletContextListener

        @LogMessage(level=INFO)
        @Message(id=1007,
                 value="Initialize Weld using ServletContextListener")
        void initializeWeldUsingServletContextListener()
      • initializeWeldUsingServletContainerInitializer

        @LogMessage(level=INFO)
        @Message(id=1008,
                 value="Initialize Weld using ServletContainerInitializer")
        void initializeWeldUsingServletContainerInitializer()
      • listenerUserForServletRequestAndHttpSessionNotifications

        @LogMessage(level=INFO)
        @Message(id=1009,
                 value="org.jboss.weld.environment.servlet.Listener used for ServletRequest and HttpSession notifications")
        void listenerUserForServletRequestAndHttpSessionNotifications()
      • problemWhenInterating

        @LogMessage(level=INFO)
        @Message(id=1010,
                 value="Problem when iterating through {0}",
                 format=MESSAGE_FORMAT)
        void problemWhenInterating​(Object param1,
                                   @Cause
                                   Throwable cause)
      • couldNotReadContext

        @LogMessage(level=INFO)
        @Message(id=1011,
                 value="Could not read context {0}: Trying to create it!",
                 format=MESSAGE_FORMAT)
        void couldNotReadContext​(Object param1)
      • beanManagerReferenceBoundTo

        @LogMessage(level=INFO)
        @Message(id=1012,
                 value="BeanManager reference bound to {0}.",
                 format=MESSAGE_FORMAT)
        void beanManagerReferenceBoundTo​(Object param1)
      • successfullyUnboundBeanManagerReference

        @LogMessage(level=INFO)
        @Message(id=1013,
                 value="Successfully unbound BeanManager reference.")
        void successfullyUnboundBeanManagerReference()
      • failedToUnbindBeanManagerReference

        @LogMessage(level=WARN)
        @Message(id=1014,
                 value="Failed to unbind BeanManager reference!")
        void failedToUnbindBeanManagerReference()
      • couldntCreateContext

        @LogMessage(level=ERROR)
        @Message(id=1015,
                 value="Could not create context: {0}.",
                 format=MESSAGE_FORMAT)
        void couldntCreateContext​(Object param1)
      • errorLoadingResources

        @Message(id=1016,
                 value="Error loading resources from servlet context.")
        IllegalStateException errorLoadingResources​(@Cause
                                                    Throwable cause)
      • exceptionFetchingBeanManager

        @Message(id=1017,
                 value="Exception fetching BeanManager instance!")
        IllegalStateException exceptionFetchingBeanManager​(@Cause
                                                           Throwable cause)
      • notInAServletOrPortlet

        @Message(id=1018,
                 value="Not in a servlet or portlet environment!")
        IllegalStateException notInAServletOrPortlet()
      • errorCreatingJNDIContext

        @Message(id=1019,
                 value="Error creating JNDI context")
        IllegalStateException errorCreatingJNDIContext​(@Cause
                                                       Throwable cause)
      • noServiceLoaderClassAvailable

        @Message(id=1022,
                 value="No ServiceLoader class available!")
        IllegalStateException noServiceLoaderClassAvailable()
      • noLoadMethodAvailableOnServiceLoader

        @Message(id=1023,
                 value="No load method available on ServiceLoader - {0}.",
                 format=MESSAGE_FORMAT)
        IllegalStateException noLoadMethodAvailableOnServiceLoader​(Object param1,
                                                                   @Cause
                                                                   Throwable cause)
      • couldNotBindBeanManagerReferenceToJNDI

        @Message(id=1024,
                 value="Could not bind BeanManager reference to JNDI: {0}\nIf the naming context is read-only, you may need to use a configuration to bind the BeanManager instead, such as Tomcat\'s context.xml or Jetty\'s jetty-web.xml.",
                 format=MESSAGE_FORMAT)
        RuntimeException couldNotBindBeanManagerReferenceToJNDI​(Object param1)
      • couldNotCreateInitialContext

        @Message(id=1025,
                 value="Could not create InitialContext to bind BeanManager reference in JNDI: {0}.",
                 format=MESSAGE_FORMAT)
        RuntimeException couldNotCreateInitialContext​(Object param1)
      • errorLoadingWeldELContextListener

        @Message(id=1028,
                 value="Error loading Weld ELContext Listener, check that Weld is on the classpath.")
        IllegalStateException errorLoadingWeldELContextListener​(@Cause
                                                                Throwable cause)
      • noServletLifecycleToDestroy

        @LogMessage(level=WARN)
        @Message(id=1029,
                 value="org.jboss.weld.environment.servlet.Listener is in an inconsistent state - Weld Servlet cannot be shut down properly")
        void noServletLifecycleToDestroy()
      • cannotHandleLibrary

        @LogMessage(level=ERROR)
        @Message(id=1030,
                 value="Error handling library: {0}.",
                 format=MESSAGE_FORMAT)
        void cannotHandleLibrary​(Object path,
                                 @Cause
                                 Throwable cause)