Syslog: White Paper FAQ Examples JavaDoc
Protomatter Classes v1.1.6

com.protomatter.syslog
Class AsciiStreamDatabaseLogStatementAdapter

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

public class AsciiStreamDatabaseLogStatementAdapter
extends java.lang.Object
implements DatabaseLogStatementAdapter

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


Constructor Summary
AsciiStreamDatabaseLogStatementAdapter()
           
 
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

AsciiStreamDatabaseLogStatementAdapter

public AsciiStreamDatabaseLogStatementAdapter()
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 Classes v1.1.6
Copyright 1998-2001 Nate Sammons

Protomatter Classes v1.1.6 http://protomatter.sourceforge.net/1.1.6