org.xmlBlaster.contrib.dbwriter
Class DefaultWriter
java.lang.Object
org.xmlBlaster.contrib.dbwriter.DefaultWriter
- All Implemented Interfaces:
- I_Writer, I_ContribPlugin, I_Update
public class DefaultWriter
- extends java.lang.Object
- implements I_Writer
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 |
DefaultWriter
public DefaultWriter()
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 nameattrMap
- 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
Copyright © 1999-2014 The xmlBlaster.org contributers.