Interface WeldLogger

  • All Superinterfaces:
    org.jboss.logging.BasicLogger
    All Known Implementing Classes:
    WeldLogger_$logger

    @MessageLogger(projectCode="WFLYWELD",
                   length=4)
    public interface WeldLogger
    extends org.jboss.logging.BasicLogger
    Date: 05.11.2011
    Author:
    James R. Perkins
    • Field Detail

      • ROOT_LOGGER

        static final WeldLogger ROOT_LOGGER
        A logger with a category of the package name.
      • DEPLOYMENT_LOGGER

        static final WeldLogger DEPLOYMENT_LOGGER
        A logger with the category org.jboss.weld.
    • Method Detail

      • failedToSetupWeldContexts

        @LogMessage(level=ERROR)
        @Message(id=1,
                 value="Failed to setup Weld contexts")
        void failedToSetupWeldContexts​(@Cause
                                       Throwable throwable)
      • failedToTearDownWeldContexts

        @LogMessage(level=ERROR)
        @Message(id=2,
                 value="Failed to tear down Weld contexts")
        void failedToTearDownWeldContexts​(@Cause
                                          Throwable throwable)
      • processingWeldDeployment

        @LogMessage(level=INFO)
        @Message(id=3,
                 value="Processing weld deployment %s")
        void processingWeldDeployment​(String deployment)
      • couldNotFindBeanManagerForDeployment

        @LogMessage(level=ERROR)
        @Message(id=5,
                 value="Could not find BeanManager for deployment %s")
        void couldNotFindBeanManagerForDeployment​(String beanManager)
      • startingServicesForCDIDeployment

        @LogMessage(level=DEBUG)
        @Message(id=6,
                 value="Starting Services for Jakarta Contexts and Dependency Injection deployment: %s")
        void startingServicesForCDIDeployment​(String deploymentName)
      • couldNotLoadPortableExceptionClass

        @LogMessage(level=WARN)
        @Message(id=7,
                 value="Could not load portable extension class %s")
        void couldNotLoadPortableExceptionClass​(String className,
                                                @Cause
                                                Throwable throwable)
      • injectionTypeNotValue

        @LogMessage(level=WARN)
        @Message(id=8,
                 value="@Resource injection of type %s is not supported for non-Jakarta Enterprise Beans components. Injection point: %s")
        void injectionTypeNotValue​(String type,
                                   Member injectionPoint)
      • startingWeldService

        @LogMessage(level=DEBUG)
        @Message(id=9,
                 value="Starting weld service for deployment %s")
        void startingWeldService​(String deploymentName)
      • stoppingWeldService

        @LogMessage(level=DEBUG)
        @Message(id=10,
                 value="Stopping weld service for deployment %s")
        void stoppingWeldService​(String deploymentName)
      • beansXmlValidationWarning

        @LogMessage(level=WARN)
        @Message(id=11,
                 value="Warning while parsing %s:%s %s")
        void beansXmlValidationWarning​(URL file,
                                       int line,
                                       String message)
      • beansXmlValidationError

        @LogMessage(level=WARN)
        @Message(id=12,
                 value="Warning while parsing %s:%s %s")
        void beansXmlValidationError​(URL file,
                                     int line,
                                     String message)
      • cdiAnnotationsButNotBeanArchive

        @LogMessage(level=WARN)
        @Message(id=13,
                 value="Deployment %s contains Jakarta Contexts and Dependency Injection annotations but no bean archive was found (no beans.xml or class with bean defining annotations was present).")
        void cdiAnnotationsButNotBeanArchive​(String deploymentUnit)
      • exceptionClearingThreadState

        @LogMessage(level=ERROR)
        @Message(id=14,
                 value="Exception tearing down thread state")
        void exceptionClearingThreadState​(@Cause
                                          Exception e)
      • couldNotReadEntries

        @LogMessage(level=ERROR)
        @Message(id=16,
                 value="Could not read entries")
        void couldNotReadEntries​(@Cause
                                 IOException ioe)
      • doNotUnderstandProtocol

        @LogMessage(level=WARN)
        @Message(id=17,
                 value="URL scanner does not understand the URL protocol %s, Jakarta Contexts and Dependency Injection beans will not be scanned.")
        void doNotUnderstandProtocol​(URL url)
      • duplicateBeansXml

        @LogMessage(level=WARN)
        @Message(id=18,
                 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 the former location for this deployment.")
        void duplicateBeansXml()
      • couldNotGetBeansXmlAsURL

        @Message(id=19,
                 value="Could get beans.xml file as URL when processing file: %s")
        org.jboss.as.server.deployment.DeploymentUnitProcessingException couldNotGetBeansXmlAsURL​(String beansXml,
                                                                                                  @Cause
                                                                                                  Throwable cause)
      • couldNotLoadInterceptorClass

        @Message(id=20,
                 value="Could not load interceptor class : %s")
        org.jboss.as.server.deployment.DeploymentUnitProcessingException couldNotLoadInterceptorClass​(String interceptorClass,
                                                                                                      @Cause
                                                                                                      Throwable cause)
      • extensionDoesNotImplementExtension

        @Message(id=21,
                 value="Service %s didn\'t implement the javax.enterprise.inject.spi.Extension interface")
        org.jboss.as.server.deployment.DeploymentUnitProcessingException extensionDoesNotImplementExtension​(Class<?> clazz)
      • unknownInterceptorClassForCDIInjection

        @Message(id=30,
                 value="Unknown interceptor class for Jakarta Contexts and Dependency Injection %s")
        IllegalArgumentException unknownInterceptorClassForCDIInjection​(Class<?> interceptorClass)
      • injectionPointNotAJavabean

        @Message(id=32,
                 value="Injection point represents a method which doesn\'t follow JavaBean conventions (must have exactly one parameter) %s")
        IllegalArgumentException injectionPointNotAJavabean​(Method method)
      • couldNotDetermineUnderlyingType

        @Message(id=36,
                 value="Could not determine bean class from injection point type of %s")
        IllegalArgumentException couldNotDetermineUnderlyingType​(Type type)
      • couldNotFindPersistenceUnit

        @Message(id=37,
                 value="Error injecting persistence unit into Jakarta Contexts and Dependency Injection managed bean. Can\'t find a persistence unit named \'%s\' in deployment %s for injection point %s")
        IllegalArgumentException couldNotFindPersistenceUnit​(String unitName,
                                                             String deployment,
                                                             Member injectionPoint)
      • securityNotEnabled

        @Message(id=38,
                 value="Could not inject SecurityManager, security is not enabled")
        IllegalStateException securityNotEnabled()
      • singletonNotSet

        @Message(id=39,
                 value="Singleton not set for %s. This means that you are trying to access a weld deployment with a Thread Context ClassLoader that is not associated with the deployment.")
        IllegalStateException singletonNotSet​(ClassLoader classLoader)
      • beanDeploymentNotFound

        @Message(id=43,
                 value="BeanDeploymentArchive with id %s not found in deployment")
        IllegalArgumentException beanDeploymentNotFound​(String beanDeploymentId)
      • couldNotFindResource

        @Message(id=44,
                 value="Error injecting resource into Jakarta Contexts and Dependency Injection managed bean. Can\'t find a resource named %s")
        IllegalArgumentException couldNotFindResource​(String resourceName,
                                                      @Cause
                                                      Throwable cause)
      • cannotDetermineResourceName

        @Message(id=45,
                 value="Cannot determine resource name. Both jndiName and mappedName are null")
        IllegalArgumentException cannotDetermineResourceName()
      • cannotInject

        @Message(id=46,
                 value="Cannot inject injection point %s")
        IllegalArgumentException cannotInject​(javax.enterprise.inject.spi.InjectionPoint ip)
      • cannotUseAtRuntime

        @Message(id=47,
                 value="%s cannot be used at runtime")
        IllegalStateException cannotUseAtRuntime​(String description)
      • rejectAttributesMustBeTrue

        @Message(id=48,
                 value="These attributes must be \'true\' for use with CDI 1.0 \'%s\'")
        String rejectAttributesMustBeTrue​(Set<String> keySet)
      • couldNotFindResource

        @Message(id=49,
                 value="Error injecting resource into Jakarta Contexts and Dependency Injection managed bean. Can\'t find a resource named %s defined on %s")
        IllegalArgumentException couldNotFindResource​(String resourceName,
                                                      String member,
                                                      @Cause
                                                      Throwable cause)
      • beanArchiveDiscovered

        @LogMessage(level=DEBUG)
        @Message("Discovered %s")
        void beanArchiveDiscovered​(org.jboss.weld.bootstrap.spi.BeanDeploymentArchive bda)
      • nameNotFoundInIndex

        @Message(id=50,
                 value="%s was not found in composite index")
        org.jboss.weld.resources.spi.ClassFileInfoException nameNotFoundInIndex​(String name)
      • unableToLoadAnnotation

        @LogMessage(level=DEBUG)
        @Message(id=0,
                 value="Unable to load annotation %s")
        void unableToLoadAnnotation​(String annotationClassName)
      • cannotLoadClass

        @Message(id=51,
                 value="Cannot load %s")
        org.jboss.weld.resources.spi.ClassFileInfoException cannotLoadClass​(String name,
                                                                            @Cause
                                                                            Throwable throwable)
      • loadingProxiesUsingDeploymentClassLoader

        @LogMessage(level=WARN)
        @Message(id=52,
                 value="Using deployment classloader to load proxy classes for module %s. Package-private access will not work. To fix this the module should declare dependencies on %s")
        void loadingProxiesUsingDeploymentClassLoader​(org.jboss.modules.ModuleIdentifier moduleIdentifier,
                                                      String dependencies)
      • componentInterceptorSupportNotAvailable

        @Message(id=53,
                 value="Component interceptor support not available for: %s")
        IllegalStateException componentInterceptorSupportNotAvailable​(Object componentClass)
      • cannotLoadAnnotationIndexOfExternalBeanArchive

        @LogMessage(level=WARN)
        @Message(id=54,
                 value="Could not read provided index of an external bean archive: %s")
        void cannotLoadAnnotationIndexOfExternalBeanArchive​(Object indexUrl)
      • cannotIndexClassName

        @LogMessage(level=WARN)
        @Message(id=55,
                 value="Could not index class [%s] from an external bean archive: %s")
        void cannotIndexClassName​(Object name,
                                  Object bda)
      • weldNotInitialized

        @Message(id=56,
                 value="Weld is not initialized yet")
        IllegalStateException weldNotInitialized()
      • persistenceUnitFailed

        @Message(id=57,
                 value="Persistence unit \'%s\' failed.")
        IllegalStateException persistenceUnitFailed​(String scopedPuName)
      • persistenceUnitRemoved

        @Message(id=58,
                 value="Persistence unit \'%s\' removed.")
        IllegalStateException persistenceUnitRemoved​(String scopedPuName)