Package org.hibernate.proxool.internal
Interface ProxoolMessageLogger
-
- All Superinterfaces:
org.jboss.logging.BasicLogger,ConnectionPoolingLogger
@MessageLogger(projectCode="HHH") @ValidIdRange(min=30001, max=35000) public interface ProxoolMessageLogger extends ConnectionPoolingLoggerThe jboss-loggingMessageLoggerfor the hibernate-proxool module. It reserves message ids ranging from 30001 to 35000 inclusively.New messages must be added after the last message defined to ensure message codes are unique.
-
-
Field Summary
Fields Modifier and Type Field Description static StringLOGGER_NAMEstatic org.jboss.logging.LoggerPROXOOL_LOGGERstatic ProxoolMessageLoggerPROXOOL_MESSAGE_LOGGER-
Fields inherited from interface org.hibernate.internal.log.ConnectionPoolingLogger
CONNECTIONS_LOGGER, CONNECTIONS_MESSAGE_LOGGER
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidconfiguringProxoolProviderToUsePoolAlias(String proxoolAlias)Logs the name of a named pool to be used for configuration informationvoidconfiguringProxoolProviderUsingExistingPool(String proxoolAlias)Logs the name of a named existing pool in memory to be usedvoidconfiguringProxoolProviderUsingJaxpConfigurator(String jaxpFile)Logs a message that the proxool pool will be built using its JAXP (XML) configuration mechanismvoidconfiguringProxoolProviderUsingPropertiesFile(String propFile)Logs a message that the proxool pool will be built using a properties fileStringexceptionClosingProxoolPool()Builds a message about not being able to close the underlying proxool pool.StringunableToConfigureProxoolProviderToUseExistingInMemoryPool(String proxoolPoolAlias)Builds a message about invalid configurationStringunableToConfigureProxoolProviderToUseJaxp(String proxoolPoolAlias)Builds a message about invalid configurationStringunableToConfigureProxoolProviderToUsePropertiesFile(String proxoolPoolAlias)Builds a message about invalid configurationStringunableToLoadJaxpConfiguratorFile(String jaxpFile)Builds a message about not being able to find or load the XML configuration fileStringunableToLoadPropertyConfiguratorFile(String propFile)Builds a message about not being able to find or load the properties configuration file-
Methods inherited from interface org.jboss.logging.BasicLogger
debug, debug, debug, debug, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, 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, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, 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, warnv
-
Methods inherited from interface org.hibernate.internal.log.ConnectionPoolingLogger
autoCommitMode, cleaningUpConnectionPool, connectionProperties, hibernateConnectionPoolSize, jdbcDriverNotSpecified, jdbcIsolationLevel, jdbcUrlNotSpecified, loadedDriver, loadedDrivers, noDriver, unableToCloseConnection, unableToClosePooledConnection, usingHibernateBuiltInConnectionPool, usingUrl
-
-
-
-
Field Detail
-
LOGGER_NAME
static final String LOGGER_NAME
- See Also:
- Constant Field Values
-
PROXOOL_LOGGER
static final org.jboss.logging.Logger PROXOOL_LOGGER
-
PROXOOL_MESSAGE_LOGGER
static final ProxoolMessageLogger PROXOOL_MESSAGE_LOGGER
-
-
Method Detail
-
configuringProxoolProviderToUsePoolAlias
@LogMessage(level=INFO) @Message(value="Configuring Proxool Provider to use pool alias: %s", id=30002) void configuringProxoolProviderToUsePoolAlias(String proxoolAlias)Logs the name of a named pool to be used for configuration information- Parameters:
proxoolAlias- The name (alias) of the proxool pool
-
configuringProxoolProviderUsingExistingPool
@LogMessage(level=INFO) @Message(value="Configuring Proxool Provider using existing pool in memory: %s", id=30003) void configuringProxoolProviderUsingExistingPool(String proxoolAlias)Logs the name of a named existing pool in memory to be used- Parameters:
proxoolAlias- The name (alias) of the proxool pool
-
configuringProxoolProviderUsingJaxpConfigurator
@LogMessage(level=INFO) @Message(value="Configuring Proxool Provider using JAXPConfigurator: %s", id=30004) void configuringProxoolProviderUsingJaxpConfigurator(String jaxpFile)Logs a message that the proxool pool will be built using its JAXP (XML) configuration mechanism- Parameters:
jaxpFile- The XML configuration file to use
-
configuringProxoolProviderUsingPropertiesFile
@LogMessage(level=INFO) @Message(value="Configuring Proxool Provider using Properties File: %s", id=30005) void configuringProxoolProviderUsingPropertiesFile(String propFile)Logs a message that the proxool pool will be built using a properties file- Parameters:
propFile- The properties file to use
-
exceptionClosingProxoolPool
@Message(value="Exception occurred when closing the Proxool pool", id=30006) String exceptionClosingProxoolPool()Builds a message about not being able to close the underlying proxool pool.- Returns:
- The message
-
unableToConfigureProxoolProviderToUseExistingInMemoryPool
@Message(value="Cannot configure Proxool Provider to use an existing in memory pool without the %s property set.", id=30007) String unableToConfigureProxoolProviderToUseExistingInMemoryPool(String proxoolPoolAlias)Builds a message about invalid configuration- Parameters:
proxoolPoolAlias- The name (alias) of the proxool pool- Returns:
- The message
-
unableToConfigureProxoolProviderToUseJaxp
@Message(value="Cannot configure Proxool Provider to use JAXP without the %s property set.", id=30008) String unableToConfigureProxoolProviderToUseJaxp(String proxoolPoolAlias)Builds a message about invalid configuration- Parameters:
proxoolPoolAlias- The name (alias) of the proxool pool- Returns:
- The message
-
unableToConfigureProxoolProviderToUsePropertiesFile
@Message(value="Cannot configure Proxool Provider to use Properties File without the %s property set.", id=30009) String unableToConfigureProxoolProviderToUsePropertiesFile(String proxoolPoolAlias)Builds a message about invalid configuration- Parameters:
proxoolPoolAlias- The name (alias) of the proxool pool- Returns:
- The message
-
unableToLoadJaxpConfiguratorFile
@Message(value="Proxool Provider unable to load JAXP configurator file: %s", id=30010) String unableToLoadJaxpConfiguratorFile(String jaxpFile)Builds a message about not being able to find or load the XML configuration file- Parameters:
jaxpFile- The XML file- Returns:
- The message
-
unableToLoadPropertyConfiguratorFile
@Message(value="Proxool Provider unable to load Property configurator file: %s", id=30011) String unableToLoadPropertyConfiguratorFile(String propFile)Builds a message about not being able to find or load the properties configuration file- Parameters:
propFile- The properties file- Returns:
- The message
-
-