Syslog White Paper FAQ Examples JavaDoc Classloader
Protomatter Software v1.1.7

com.protomatter.syslog
Class StringDatabaseLogStatementAdapter

java.lang.Object
  |
  +--com.protomatter.syslog.StringDatabaseLogStatementAdapter
All Implemented Interfaces:
DatabaseLogStatementAdapter

public class StringDatabaseLogStatementAdapter
extends java.lang.Object
implements DatabaseLogStatementAdapter

A log adapter that uses the setString() method to set details.


Constructor Summary
StringDatabaseLogStatementAdapter()
           
 
Method Summary
 void handleLogStatement(java.sql.PreparedStatement statement, java.lang.String data, int index)
          Set the parameter on the given statement to write the message detail into the database.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StringDatabaseLogStatementAdapter

public StringDatabaseLogStatementAdapter()
Method Detail

handleLogStatement

public void handleLogStatement(java.sql.PreparedStatement statement,
                               java.lang.String data,
                               int index)
                        throws java.sql.SQLException
Description copied from interface: DatabaseLogStatementAdapter
Set the parameter on the given statement to write the message detail into the database.
Specified by:
handleLogStatement in interface DatabaseLogStatementAdapter

Protomatter Software v1.1.7
Copyright 1998-2002 Nate Sammons

Protomatter Software v1.1.7 http://protomatter.sourceforge.net/1.1.7