xmlBlaster 2.1.0 API

org.xmlBlaster.contrib.dbwriter
Class DefaultWriter

java.lang.Object
  extended by org.xmlBlaster.contrib.dbwriter.DefaultWriter
All Implemented Interfaces:
I_Writer, I_ContribPlugin, I_Update

public class DefaultWriter
extends java.lang.Object
implements I_Writer


Field Summary
(package private)  java.util.logging.Logger log
           
 
Constructor Summary
DefaultWriter()
           
 
Method Summary
 java.util.Set getUsedPropertyKeys()
          Gets all property keys which may be used by this object.
 void init(I_Info info)
           
 void shutdown()
           
 void store(SqlInfo info)
           
 void update(java.lang.String topic, java.io.InputStream is, java.util.Map attrMap)
          The message received from the MoM or from another source.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

java.util.logging.Logger log
Constructor Detail

DefaultWriter

public DefaultWriter()
Method Detail

update

public void update(java.lang.String topic,
                   java.io.InputStream is,
                   java.util.Map attrMap)
            throws java.lang.Exception
Description copied from interface: I_Update
The message received from the MoM or from another source.

Specified by:
update in interface I_Update
Parameters:
topic - The topic name
attrMap - A map with attribute, can be null
Throws:
java.lang.Exception

store

public void store(SqlInfo info)
           throws java.lang.Exception
Specified by:
store in interface I_Writer
Throws:
java.lang.Exception

getUsedPropertyKeys

public java.util.Set getUsedPropertyKeys()
Description copied from interface: I_ContribPlugin
Gets all property keys which may be used by this object.

Specified by:
getUsedPropertyKeys in interface I_ContribPlugin
Returns:
See Also:
I_ContribPlugin.getUsedPropertyKeys()

init

public void init(I_Info info)
          throws java.lang.Exception
Specified by:
init in interface I_ContribPlugin
Throws:
java.lang.Exception

shutdown

public void shutdown()
              throws java.lang.Exception
Specified by:
shutdown in interface I_ContribPlugin
Throws:
java.lang.Exception
See Also:
I_Plugin

xmlBlaster 2.1.0 API

Copyright © 1999-2011 The xmlBlaster.org contributers.