This project has retired. For details please refer to its
        
        Attic page.
      
org.apache.avalon.excalibur.logger.factory
Class JDBCTargetFactory
java.lang.Object
   org.apache.avalon.excalibur.logger.factory.JDBCTargetFactory
org.apache.avalon.excalibur.logger.factory.JDBCTargetFactory
- All Implemented Interfaces: 
- LogTargetFactory
- public class JDBCTargetFactory- extends java.lang.Object- implements LogTargetFactory
Factory for JDBCLogTarget-s. The configuration looks like this:
 
  <jdbc id="database">
      <datasource>java:/LogTargetDataSource</datasource>
      <normalized>true</normalized>
      <table name="LOG">
          <category>CATEGORY</category>
          <priority>PRIORITY</priority>
          <message>MESSAGE</message>
          <time>TIME</time>
          <rtime>RTIME</rtime>
          <throwable>THROWABLE</throwable>
          <hostname>HOSTNAME</hostname>
          <static aux="-">STATIC</static>
          <context aux="principal">PRINCIPAL</context>
          <context aux="ipaddress">IPADDRESS</context>
          <context aux="username">USERNAME</context>
      </table>
  </jdbc>
 
- Version:
- CVS $Revision: 1.10 $ $Date: 2004/03/10 13:54:50 $
- Author:
- Avalon Development Team
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
JDBCTargetFactory
public JDBCTargetFactory()
createTarget
public LogTarget createTarget(Configuration configuration)
                       throws ConfigurationException
- Description copied from interface: LogTargetFactory
- Create a LogTarget based on a Configuration
 
- 
- Specified by:
- createTargetin interface- LogTargetFactory
 
- 
- Throws:
- ConfigurationException
 
Copyright © 1997-2005 The Apache Software Foundation. All Rights Reserved.