Interface PojoLogger

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

    @MessageLogger(projectCode="WFLYPOJO",
                   length=4)
    public interface PojoLogger
    extends org.jboss.logging.BasicLogger
    Author:
    James R. Perkins, Ales Justin
    • Field Detail

      • ROOT_LOGGER

        static final PojoLogger ROOT_LOGGER
        A logger with a category of the package name.
    • Method Detail

      • oldNamespace

        @LogMessage(level=INFO)
        @Message(id=1,
                 value="Found legacy bean/pojo namespace: %s - might be missing some xml features (potential exceptions).")
        void oldNamespace​(Object namespace)
        Log old namespace usage.
        Parameters:
        namespace - the namespace
      • ignoreUninstallError

        @LogMessage(level=WARN)
        @Message(id=2,
                 value="Ignoring uninstall action on target: %s")
        void ignoreUninstallError​(Object joinpoint,
                                  @Cause
                                  Throwable cause)
        Error at uninstall.
        Parameters:
        joinpoint - the joinpoint
        cause - the cause of the error.
      • invokingCallback

        @LogMessage(level=WARN)
        @Message(id=3,
                 value="Error invoking callback: %s")
        void invokingCallback​(Object callback,
                              @Cause
                              Throwable cause)
        Error invoking callback.
        Parameters:
        callback - the callback
        cause - the cause of the error.
      • errorAtIncallback

        @LogMessage(level=WARN)
        @Message(id=4,
                 value="Error invoking incallback: %s")
        void errorAtIncallback​(Object callback,
                               @Cause
                               Throwable cause)
        Error at incallback.
        Parameters:
        callback - the callback
        cause - the cause of the error.
      • errorAtUncallback

        @LogMessage(level=WARN)
        @Message(id=5,
                 value="Error invoking uncallback: %s")
        void errorAtUncallback​(Object callback,
                               @Cause
                               Throwable cause)
        Error at uncallback.
        Parameters:
        callback - the callback
        cause - the cause of the error.
      • noModuleFound

        @Message(id=6,
                 value="Failed to get module attachment for %s")
        org.jboss.as.server.deployment.DeploymentUnitProcessingException noModuleFound​(org.jboss.as.server.deployment.DeploymentUnit unit)
        No Module instance found in attachments.
        Parameters:
        unit - the current deployment unit
        Returns:
        a DeploymentUnitProcessingException for the error.
      • missingReflectionIndex

        @Message(id=7,
                 value="Missing deployment reflection index for %s")
        org.jboss.as.server.deployment.DeploymentUnitProcessingException missingReflectionIndex​(org.jboss.as.server.deployment.DeploymentUnit unit)
        Missing reflection index.
        Parameters:
        unit - the current deployment unit
        Returns:
        a DeploymentUnitProcessingException for the error.
      • failedToParse

        @Message(id=8,
                 value="Failed to parse POJO xml [ %s ]")
        org.jboss.as.server.deployment.DeploymentUnitProcessingException failedToParse​(org.jboss.vfs.VirtualFile file)
        Parsing failure.
        Parameters:
        file - the beans xml file
        Returns:
        a DeploymentUnitProcessingException for the error.
      • cannotInstantiateCollection

        @Message(id=10,
                 value="Cannot instantiate new collection instance.")
        IllegalArgumentException cannotInstantiateCollection​(@Cause
                                                             Throwable cause)
        Cannot instantiate new collection instance
        Parameters:
        cause - the cause
        Returns:
        a IllegalArgumentException for the error.
      • tooDynamicFromDependency

        @Message(id=13,
                 value="Too dynamic to determine injected type from dependency!")
        IllegalArgumentException tooDynamicFromDependency()
        Too dynamic to determine type.
        Returns:
        a IllegalArgumentException for the error.
      • invalidMatchSize

        @Message(id=17,
                 value="Invalid number of type instances match: %s, type: %s")
        IllegalArgumentException invalidMatchSize​(Set set,
                                                  Class type)
        Invalid match size.
        Parameters:
        set - whole set
        type - the type to match
        Returns:
        a IllegalArgumentException for the error.
      • cannotDetermineInjectedType

        @Message(id=18,
                 value="Cannot determine injected type: %s, try setting class attribute (if available).")
        IllegalArgumentException cannotDetermineInjectedType​(String info)
        Cannot determine injected type.
        Parameters:
        info - the info
        Returns:
        a IllegalArgumentException for the error.
      • missingValue

        @Message(id=21,
                 value="Missing value")
        String missingValue()
        Missing value.
        Returns:
        a message
      • missingFactoryMethod

        @Message(id=27,
                 value="Missing factory method in ctor configuration: %s")
        org.jboss.msc.service.StartException missingFactoryMethod​(BeanMetaDataConfig beanConfig)
        Missing factory method.
        Parameters:
        beanConfig - bean config
        Returns:
        a IllegalArgumentException for the error.
      • missingBeanInfo

        @Message(id=28,
                 value="Missing bean info, set bean\'s class attribute: %s")
        String missingBeanInfo​(BeanMetaDataConfig beanConfig)
        Missing bean info.
        Parameters:
        beanConfig - bean config
        Returns:
        a IllegalArgumentException for the error.
      • parsingException

        @Message(id=38,
                 value="Exception while parsing POJO descriptor file: %s")
        org.jboss.as.server.deployment.DeploymentUnitProcessingException parsingException​(org.jboss.vfs.VirtualFile beansXml,
                                                                                          @Cause
                                                                                          Throwable cause)
        Parsing exception.
        Parameters:
        beansXml - the beans xml file
        cause - the cause
        Returns:
        a DeploymentUnitProcessingException for the error.