@MessageLogger(projectCode="JBAS")
public interface JpaLogger
extends org.jboss.logging.BasicLogger
| Modifier and Type | Field and Description |
|---|---|
static JpaLogger |
JPA_LOGGER
A logger with the category
org.jboss.jpa. |
static JpaLogger |
ROOT_LOGGER
Default root level logger with the package name for he category.
|
| Modifier and Type | Method and Description |
|---|---|
void |
duplicatePersistenceUnitDefinition(String puName,
String ogPuName,
String dupPuName)
Logs a warning message indicating duplicate persistence.xml files were found.
|
void |
errorPreloadingDefaultProvider(Throwable cause)
Logs an error message indicating an exception occurred while preloading the default persistence provider module.
|
void |
failedToGetModuleAttachment(DeploymentUnit deploymentUnit)
Creates an exception indicating a failure to get the module for the deployment unit represented by the
deploymentUnit parameter. |
void |
failedToStopPUService(Throwable cause,
String name)
Logs an error message indicating the persistence unit was not stopped
|
void |
readingPersistenceXml(String puUnitName)
Logs an informational message indicating the persistence.xml file is being read.
|
void |
startingPersistenceUnitService(int phase,
String name)
Logs an informational message indicating the persistence unit service is starting phase n of 2.
|
void |
startingService(String serviceName,
String name)
Logs an informational message indicating the service, represented by the
serviceName parameter, is
starting. |
void |
stoppingPersistenceUnitService(int phase,
String name)
Logs an informational message indicating the service is stopping.
|
void |
stoppingService(String serviceName,
String name)
Logs an informational message indicating the service, represented by the
serviceName parameter, is
stopping. |
void |
unexpectedStatisticsProblem(IllegalStateException cause)
Logs warning about unexpected problem gathering statistics.
|
debug, debug, debug, debug, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugv, debugv, debugv, debugv, debugv, debugv, debugv, debugv, error, error, error, error, errorf, errorf, errorf, errorf, errorf, errorf, errorf, errorf, errorv, errorv, errorv, errorv, errorv, errorv, errorv, errorv, fatal, fatal, fatal, fatal, fatalf, fatalf, fatalf, fatalf, fatalf, fatalf, fatalf, fatalf, fatalv, fatalv, fatalv, fatalv, fatalv, fatalv, fatalv, fatalv, info, info, info, info, infof, infof, infof, infof, infof, infof, infof, infof, infov, infov, infov, infov, infov, infov, infov, infov, isDebugEnabled, isEnabled, isInfoEnabled, isTraceEnabled, log, log, log, log, logf, logf, logf, logf, logf, logf, logf, logf, logf, logf, logf, logf, logv, logv, logv, logv, logv, logv, logv, logv, logv, logv, logv, logv, trace, trace, trace, trace, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracev, tracev, tracev, tracev, tracev, tracev, tracev, tracev, warn, warn, warn, warn, warnf, warnf, warnf, warnf, warnf, warnf, warnf, warnf, warnv, warnv, warnv, warnv, warnv, warnv, warnv, warnvstatic final JpaLogger ROOT_LOGGER
static final JpaLogger JPA_LOGGER
org.jboss.jpa.@LogMessage(level=WARN)
@Message(id=11400,
value="Duplicate Persistence Unit definition for %s in application. One of the duplicate persistence.xml should be removed from the application. Application deployment will continue with the persistence.xml definitions from %s used. The persistence.xml definitions from %s will be ignored.")
void duplicatePersistenceUnitDefinition(String puName,
String ogPuName,
String dupPuName)
puName - the persistence XML file.ogPuName - the original persistence.xml file.dupPuName - the duplicate persistence.xml file.@LogMessage(level=INFO)
@Message(id=11401,
value="Read persistence.xml for %s")
void readingPersistenceXml(String puUnitName)
puUnitName - the persistence unit name.@LogMessage(level=INFO)
@Message(id=11402,
value="Starting %s Service \'%s\'")
void startingService(String serviceName,
String name)
serviceName parameter, is
starting.serviceName - the name of the service.name - an additional name for the service.@LogMessage(level=INFO)
@Message(id=11403,
value="Stopping %s Service \'%s\'")
void stoppingService(String serviceName,
String name)
serviceName parameter, is
stopping.serviceName - the name of the service.name - an additional name for the service.@LogMessage(level=ERROR)
@Message(id=11405,
value="Could not load default persistence provider module. ")
void errorPreloadingDefaultProvider(@Cause
Throwable cause)
cause - the cause of the error.@LogMessage(level=ERROR)
@Message(id=11406,
value="Failed to stop persistence unit service %s")
void failedToStopPUService(@Cause
Throwable cause,
String name)
cause - the cause of the error.name - name of the persistence unit@LogMessage(level=WARN)
@Message(id=11407,
value="Failed to get module attachment for %s")
void failedToGetModuleAttachment(DeploymentUnit deploymentUnit)
deploymentUnit parameter.deploymentUnit - the deployment unit that failed.@LogMessage(level=INFO)
@Message(id=11409,
value="Starting Persistence Unit (phase %d of 2) Service \'%s\'")
void startingPersistenceUnitService(int phase,
String name)
phase - is the phase number (1 or 2)name - an additional name for the service.@LogMessage(level=INFO)
@Message(id=11410,
value="Stopping Persistence Unit (phase %d of 2) Service \'%s\'")
void stoppingPersistenceUnitService(int phase,
String name)
phase - is the phase number (1 or 2)name - an additional name for the service.@LogMessage(level=WARN)
@Message(id=11411,
value="Unexpected problem gathering statistics")
void unexpectedStatisticsProblem(@Cause
IllegalStateException cause)
cause - is the cause of the warningCopyright © 2014 JBoss by Red Hat. All rights reserved.