Class JpaLogger_$logger

  • All Implemented Interfaces:
    Serializable, JpaLogger, org.jboss.logging.BasicLogger

    @Generated(value="org.jboss.logging.processor.generator.model.MessageLoggerImplementor",
               date="2023-07-19T22:02:52-0500")
    public class JpaLogger_$logger
    extends org.jboss.logging.DelegatingBasicLogger
    implements JpaLogger, org.jboss.logging.BasicLogger, Serializable
    Warning this class consists of generated code.
    See Also:
    Serialized Form
    • Constructor Detail

      • JpaLogger_$logger

        public JpaLogger_$logger​(org.jboss.logging.Logger log)
    • Method Detail

      • getLoggingLocale

        protected Locale getLoggingLocale()
      • duplicatePersistenceUnitDefinition

        public final void duplicatePersistenceUnitDefinition​(String puName,
                                                             String ogPuName,
                                                             String dupPuName)
        Description copied from interface: JpaLogger
        Logs a warning message indicating duplicate persistence.xml files were found.
        Specified by:
        duplicatePersistenceUnitDefinition in interface JpaLogger
        Parameters:
        puName - the persistence XML file.
        ogPuName - the original persistence.xml file.
        dupPuName - the duplicate persistence.xml file.
      • duplicatePersistenceUnitDefinition$str

        protected String duplicatePersistenceUnitDefinition$str()
      • readingPersistenceXml

        public final void readingPersistenceXml​(String puUnitName)
        Description copied from interface: JpaLogger
        Logs an informational message indicating the persistence.xml file is being read.
        Specified by:
        readingPersistenceXml in interface JpaLogger
        Parameters:
        puUnitName - the persistence unit name.
      • readingPersistenceXml$str

        protected String readingPersistenceXml$str()
      • startingService

        public final void startingService​(String serviceName,
                                          String name)
        Description copied from interface: JpaLogger
        Logs an informational message indicating the service, represented by the serviceName parameter, is starting.
        Specified by:
        startingService in interface JpaLogger
        Parameters:
        serviceName - the name of the service.
        name - an additional name for the service.
      • startingService$str

        protected String startingService$str()
      • stoppingService

        public final void stoppingService​(String serviceName,
                                          String name)
        Description copied from interface: JpaLogger
        Logs an informational message indicating the service, represented by the serviceName parameter, is stopping.
        Specified by:
        stoppingService in interface JpaLogger
        Parameters:
        serviceName - the name of the service.
        name - an additional name for the service.
      • stoppingService$str

        protected String stoppingService$str()
      • errorPreloadingDefaultProvider

        public final void errorPreloadingDefaultProvider​(Throwable cause)
        Description copied from interface: JpaLogger
        Logs an error message indicating an exception occurred while preloading the default persistence provider module. Initialization continues after logging the error.
        Specified by:
        errorPreloadingDefaultProvider in interface JpaLogger
        Parameters:
        cause - the cause of the error.
      • errorPreloadingDefaultProvider$str

        protected String errorPreloadingDefaultProvider$str()
      • failedToStopPUService

        public final void failedToStopPUService​(Throwable cause,
                                                String name)
        Description copied from interface: JpaLogger
        Logs an error message indicating the persistence unit was not stopped
        Specified by:
        failedToStopPUService in interface JpaLogger
        Parameters:
        cause - the cause of the error.
        name - name of the persistence unit
      • failedToStopPUService$str

        protected String failedToStopPUService$str()
      • startingPersistenceUnitService

        public final void startingPersistenceUnitService​(int phase,
                                                         String name)
        Description copied from interface: JpaLogger
        Logs an informational message indicating the persistence unit service is starting phase n of 2.
        Specified by:
        startingPersistenceUnitService in interface JpaLogger
        Parameters:
        phase - is the phase number (1 or 2)
        name - an additional name for the service.
      • startingPersistenceUnitService$str

        protected String startingPersistenceUnitService$str()
      • stoppingPersistenceUnitService

        public final void stoppingPersistenceUnitService​(int phase,
                                                         String name)
        Description copied from interface: JpaLogger
        Logs an informational message indicating the service is stopping.
        Specified by:
        stoppingPersistenceUnitService in interface JpaLogger
        Parameters:
        phase - is the phase number (1 or 2)
        name - an additional name for the service.
      • stoppingPersistenceUnitService$str

        protected String stoppingPersistenceUnitService$str()
      • unexpectedStatisticsProblem

        public final void unexpectedStatisticsProblem​(RuntimeException cause)
        Description copied from interface: JpaLogger
        Logs warning about unexpected problem gathering statistics.
        Specified by:
        unexpectedStatisticsProblem in interface JpaLogger
        Parameters:
        cause - is the cause of the warning
      • unexpectedStatisticsProblem$str

        protected String unexpectedStatisticsProblem$str()
      • cannotCloseContainerManagedEntityManager$str

        protected String cannotCloseContainerManagedEntityManager$str()
      • cannotCloseTransactionContainerEntityManger$str

        protected String cannotCloseTransactionContainerEntityManger$str()
      • cannotCreateAdapter$str

        protected String cannotCreateAdapter$str()
      • cannotCreateAdapter

        public final org.jboss.as.server.deployment.DeploymentUnitProcessingException cannotCreateAdapter​(Throwable cause,
                                                                                                          String className)
        Description copied from interface: JpaLogger
        Creates an exception indicating the inability to create an instance of the adapter class represented by the className parameter.
        Specified by:
        cannotCreateAdapter in interface JpaLogger
        Parameters:
        cause - the cause of the error.
        className - the adapter class name.
        Returns:
        a DeploymentUnitProcessingException for the error.
      • cannotDeployApp$str

        protected String cannotDeployApp$str()
      • cannotDeployApp

        public final org.jboss.as.server.deployment.DeploymentUnitProcessingException cannotDeployApp​(Throwable cause,
                                                                                                      String providerName)
        Description copied from interface: JpaLogger
        Creates an exception indicating the application could not be deployed with the persistence provider, represented by the providerName parameter, packaged.
        Specified by:
        cannotDeployApp in interface JpaLogger
        Parameters:
        cause - the cause of the error.
        providerName - the persistence provider.
        Returns:
        a DeploymentUnitProcessingException for the error.
      • cannotGetSessionFactory$str

        protected String cannotGetSessionFactory$str()
      • cannotInjectResourceLocalEntityManager$str

        protected String cannotInjectResourceLocalEntityManager$str()
      • cannotInjectResourceLocalEntityManager

        public final String cannotInjectResourceLocalEntityManager()
        Description copied from interface: JpaLogger
        A message indicating the inability to inject a PersistenceUnitTransactionType.RESOURCE_LOCAL container managed EntityManager using the PersistenceContext annotation.
        Specified by:
        cannotInjectResourceLocalEntityManager in interface JpaLogger
        Returns:
        the message.
      • cannotLoadFromJpa$str

        protected String cannotLoadFromJpa$str()
      • cannotLoadFromJpa

        public final RuntimeException cannotLoadFromJpa​(Throwable cause,
                                                        String injectionTypeName)
        Description copied from interface: JpaLogger
        Creates an exception indicating the injectionTypeName could not be loaded from the Jakarta Persistence modules class loader.
        Specified by:
        cannotLoadFromJpa in interface JpaLogger
        Parameters:
        cause - the cause of the error.
        injectionTypeName - the name of the type.
        Returns:
        a RuntimeException for the error.
      • cannotLoadPersistenceProviderModule$str

        protected String cannotLoadPersistenceProviderModule$str()
      • cannotLoadPersistenceProviderModule

        public final org.jboss.as.server.deployment.DeploymentUnitProcessingException cannotLoadPersistenceProviderModule​(Throwable cause,
                                                                                                                          String persistenceProviderModule,
                                                                                                                          String persistenceProviderClass)
        Description copied from interface: JpaLogger
        Creates an exception indicating the persistence provider module, represented by the persistenceProviderModule parameter, had an error loading.
        Specified by:
        cannotLoadPersistenceProviderModule in interface JpaLogger
        Parameters:
        cause - the cause of the error.
        persistenceProviderModule - the name of the adapter module.
        persistenceProviderClass - the persistence provider class.
        Returns:
        a DeploymentUnitProcessingException for the error.
      • cannotSpecifyBoth$str

        protected String cannotSpecifyBoth$str()
      • cannotSpecifyBoth

        public final org.jboss.as.server.deployment.DeploymentUnitProcessingException cannotSpecifyBoth​(String key1,
                                                                                                        Object value1,
                                                                                                        String key2,
                                                                                                        Object value2,
                                                                                                        String parentTag,
                                                                                                        Object object)
        Description copied from interface: JpaLogger
        Creates an exception indicating that both key1 and key2 cannot be specified for the object.
        Specified by:
        cannotSpecifyBoth in interface JpaLogger
        Parameters:
        key1 - the first key/tag.
        value1 - the first value.
        key2 - the second key/tag.
        value2 - the second value.
        parentTag - the parent tag.
        object - the object the values are being specified for.
        Returns:
        a DeploymentUnitProcessingException for the error.
      • cannotUseExtendedPersistenceTransaction$str

        protected String cannotUseExtendedPersistenceTransaction$str()
      • cannotUseExtendedPersistenceTransaction

        public final jakarta.ejb.EJBException cannotUseExtendedPersistenceTransaction​(String puScopedName,
                                                                                      jakarta.persistence.EntityManager existingEntityManager,
                                                                                      jakarta.persistence.EntityManager self)
        Description copied from interface: JpaLogger
        Creates an exception indicating the extended persistence context for the SFSB already exists.
        Specified by:
        cannotUseExtendedPersistenceTransaction in interface JpaLogger
        Parameters:
        puScopedName - the persistence unit name.
        existingEntityManager - the existing transactional entity manager.
        self - the entity manager attempting to be created.
        Returns:
        an EJBException for the error.
      • childNotFound$str

        protected String childNotFound$str()
      • childNotFound

        public final RuntimeException childNotFound​(String child,
                                                    org.jboss.vfs.VirtualFile parent)
        Description copied from interface: JpaLogger
        Creates an exception indicating the child could not be found on the parent.
        Specified by:
        childNotFound in interface JpaLogger
        Parameters:
        child - the child that could not be found.
        parent - the parent.
        Returns:
        a RuntimeException for the error.
      • classLevelAnnotationParameterRequired$str

        protected String classLevelAnnotationParameterRequired$str()
      • classLevelAnnotationParameterRequired

        public final String classLevelAnnotationParameterRequired​(String annotation,
                                                                  String className,
                                                                  String parameter)
        Description copied from interface: JpaLogger
        Creates an exception indicating the class level annotation must provide the parameter specified.
        Specified by:
        classLevelAnnotationParameterRequired in interface JpaLogger
        Parameters:
        annotation - the annotation.
        className - the class name
        parameter - the parameter.
        Returns:
        a string for the error.
      • persistenceUnitNotFound2$str

        protected String persistenceUnitNotFound2$str()
      • persistenceUnitNotFound

        public final String persistenceUnitNotFound​(String puName,
                                                    org.jboss.as.server.deployment.DeploymentUnit deploymentUnit)
        Description copied from interface: JpaLogger
        A message indicating that the persistence unit, represented by the path parameter, could not be found at the current deployment unit, represented by the deploymentUnit parameter.
        Specified by:
        persistenceUnitNotFound in interface JpaLogger
        Parameters:
        puName - the persistence unit name.
        deploymentUnit - the deployment unit.
        Returns:
        the message.
      • persistenceUnitNotFound3$str

        protected String persistenceUnitNotFound3$str()
      • persistenceUnitNotFound

        public final IllegalArgumentException persistenceUnitNotFound​(String path,
                                                                      String puName,
                                                                      org.jboss.as.server.deployment.DeploymentUnit deploymentUnit)
        Description copied from interface: JpaLogger
        Creates an exception indicating that the persistence unit, represented by the path and puName parameters, could not be found at the current deployment unit, represented by the deploymentUnit parameter.
        Specified by:
        persistenceUnitNotFound in interface JpaLogger
        Parameters:
        path - the path.
        puName - the persistence unit name.
        deploymentUnit - the deployment unit.
        Returns:
        an IllegalArgumentException for the error.
      • errorGettingTransaction$str

        protected String errorGettingTransaction$str()
      • failedToGetAdapter$str

        protected String failedToGetAdapter$str()
      • failedToGetAdapter

        public final org.jboss.as.server.deployment.DeploymentUnitProcessingException failedToGetAdapter​(String className)
        Description copied from interface: JpaLogger
        Creates an exception indicating a failure to get the adapter for the persistence provider.
        Specified by:
        failedToGetAdapter in interface JpaLogger
        Parameters:
        className - the adapter class name.
        Returns:
        a DeploymentUnitProcessingException for the error.
      • failedToAddPersistenceUnit$str

        protected String failedToAddPersistenceUnit$str()
      • failedToAddPersistenceUnit

        public final org.jboss.as.server.deployment.DeploymentUnitProcessingException failedToAddPersistenceUnit​(Throwable cause,
                                                                                                                 String puName)
        Description copied from interface: JpaLogger
        Creates an exception indicating a failure to add the persistence unit service.
        Specified by:
        failedToAddPersistenceUnit in interface JpaLogger
        Parameters:
        cause - the cause of the error.
        puName - the persistence unit name.
        Returns:
        a DeploymentUnitProcessingException for the error.
      • failedToParse$str

        protected String failedToParse$str()
      • failedToParse

        public final String failedToParse​(org.jboss.vfs.VirtualFile file)
        Description copied from interface: JpaLogger
        A message indicating a failure to parse the file.
        Specified by:
        failedToParse in interface JpaLogger
        Parameters:
        file - the file that could not be parsed.
        Returns:
        the message.
      • hibernateOnlyEntityManagerFactory$str

        protected String hibernateOnlyEntityManagerFactory$str()
      • invalidPersistenceUnitName$str

        protected String invalidPersistenceUnitName$str()
      • invalidScopedName$str

        protected String invalidScopedName$str()
      • multipleAdapters$str

        protected String multipleAdapters$str()
      • multipleAdapters

        public final RuntimeException multipleAdapters​(String adapterModule)
        Description copied from interface: JpaLogger
        Creates an exception indicating the persistence provider adapter module, represented by the adapterModule parameter, has more than one adapter.
        Specified by:
        multipleAdapters in interface JpaLogger
        Parameters:
        adapterModule - the adapter module name.
        Returns:
        a RuntimeException for the error.
      • nullParameter$str

        protected String nullParameter$str()
      • nullParameter

        public final RuntimeException nullParameter​(String description,
                                                    String parameterName)
        Description copied from interface: JpaLogger
        Creates an exception indicating the description is null.
        Specified by:
        nullParameter in interface JpaLogger
        Parameters:
        description - the description of the parameter.
        parameterName - the parameter name.
        Returns:
        a RuntimeException for the error.
      • persistenceProviderNotFound$str

        protected String persistenceProviderNotFound$str()
      • persistenceProviderNotFound

        public final jakarta.persistence.PersistenceException persistenceProviderNotFound​(String providerName)
        Description copied from interface: JpaLogger
        Creates an exception indicating the persistence provider could not be found.
        Specified by:
        persistenceProviderNotFound in interface JpaLogger
        Parameters:
        providerName - the provider name.
        Returns:
        a PersistenceException for the error.
      • relativePathNotFound$str

        protected String relativePathNotFound$str()
      • setterMethodOnlyAnnotation$str

        protected String setterMethodOnlyAnnotation$str()
      • setterMethodOnlyAnnotation

        public final String setterMethodOnlyAnnotation​(String annotation,
                                                       org.jboss.jandex.MethodInfo methodInfo)
        Description copied from interface: JpaLogger
        A message indicating the annotation is only valid on setter method targets.
        Specified by:
        setterMethodOnlyAnnotation in interface JpaLogger
        Parameters:
        annotation - the annotation.
        methodInfo - the method information.
        Returns:
        the message.
      • transactionRequired$str

        protected String transactionRequired$str()
      • transactionRequired

        public final jakarta.persistence.TransactionRequiredException transactionRequired()
        Description copied from interface: JpaLogger
        Creates an exception indicating a transaction is required for the operation.
        Specified by:
        transactionRequired in interface JpaLogger
        Returns:
        a TransactionRequiredException for the error.
      • noPUnitNameSpecifiedAndMultiplePersistenceUnits$str

        protected String noPUnitNameSpecifiedAndMultiplePersistenceUnits$str()
      • noPUnitNameSpecifiedAndMultiplePersistenceUnits

        public final IllegalArgumentException noPUnitNameSpecifiedAndMultiplePersistenceUnits​(int puCount,
                                                                                              org.jboss.as.server.deployment.DeploymentUnit deploymentUnit)
        Description copied from interface: JpaLogger
        JBoss 4 prevented applications from referencing the persistence unit without specifying the pu name, if there were multiple persistence unit definitions in the app. JBoss 5 loosened the checking up, to let applications, just use any PU definition that they find. For AS7, we are strictly enforcing this again just like we did in JBoss 4. AS7-2275
        Specified by:
        noPUnitNameSpecifiedAndMultiplePersistenceUnits in interface JpaLogger
        Parameters:
        puCount - is number of persistence units defined in application
        deploymentUnit - the deployment unit.
        Returns:
        an IllegalArgumentException for the error.
      • couldNotCreateInstanceProvider$str

        protected String couldNotCreateInstanceProvider$str()
      • couldNotCreateInstanceProvider

        public final RuntimeException couldNotCreateInstanceProvider​(Throwable cause,
                                                                     String providerClassName)
        Description copied from interface: JpaLogger
        Creates an exception indicating the persistence provider could not be instantiated ,
        Specified by:
        couldNotCreateInstanceProvider in interface JpaLogger
        Parameters:
        cause - the cause of the error.
        providerClassName - name of the provider class
        Returns:
        a RuntimeException for the error.
      • referenceCountedEntityManagerNegativeCount$str

        protected String referenceCountedEntityManagerNegativeCount$str()
      • badSynchronizationTypeCombination$str

        protected String badSynchronizationTypeCombination$str()
      • resourcesOfTypeCannotBeRegistered$str

        protected String resourcesOfTypeCannotBeRegistered$str()
      • resourcesOfTypeCannotBeRemoved$str

        protected String resourcesOfTypeCannotBeRemoved$str()
      • classloaderHasMultipleAdapters$str

        protected String classloaderHasMultipleAdapters$str()
      • persistenceProviderAdaptorModuleLoadError$str

        protected String persistenceProviderAdaptorModuleLoadError$str()
      • persistenceProviderAdaptorModuleLoadError

        public final org.jboss.as.server.deployment.DeploymentUnitProcessingException persistenceProviderAdaptorModuleLoadError​(Throwable cause,
                                                                                                                                String adaptorModule)
        Description copied from interface: JpaLogger
        persistence provider adaptor module load error
        Specified by:
        persistenceProviderAdaptorModuleLoadError in interface JpaLogger
        Parameters:
        cause - the cause of the error.
        adaptorModule - name of persistence provider adaptor module that couldn't be loaded.
        Returns:
        the exception
      • xpcOnlyFromSFSB$str

        protected String xpcOnlyFromSFSB$str()
      • xpcOnlyFromSFSB

        public final IllegalStateException xpcOnlyFromSFSB​(String scopedPuName)
        Description copied from interface: JpaLogger
        extended persistence context can only be used within a stateful session bean. WFLY-69
        Specified by:
        xpcOnlyFromSFSB in interface JpaLogger
        Parameters:
        scopedPuName - name of the persistence unit
        Returns:
        the exception
      • differentSearchModuleDependencies$str

        protected String differentSearchModuleDependencies$str()
      • invalidClassFormat$str

        protected String invalidClassFormat$str()
      • cannotLoadPersistenceProviderIntegratorModule$str

        protected String cannotLoadPersistenceProviderIntegratorModule$str()
      • cannotLoadPersistenceProviderIntegratorModule

        public final org.jboss.as.server.deployment.DeploymentUnitProcessingException cannotLoadPersistenceProviderIntegratorModule​(Throwable cause,
                                                                                                                                    String persistenceProviderModule)
        Description copied from interface: JpaLogger
        Creates an exception indicating the persistence provider integrator module, represented by the persistenceProviderModule parameter, had an error loading.
        Specified by:
        cannotLoadPersistenceProviderIntegratorModule in interface JpaLogger
        Parameters:
        cause - the cause of the error.
        persistenceProviderModule - the name of the adapter module.
        Returns:
        a DeploymentUnitProcessingException for the error.