submarine.connectors.jdbc
Class JDBCWriter

java.lang.Object
  |
  +--submarine.connectors.jdbc.JDBCWriter
All Implemented Interfaces:
SubmiterAware, WritingFunction, XMLConfigurable

public class JDBCWriter
extends java.lang.Object
implements WritingFunction, SubmiterAware


Field Summary
private  JDBCRessource ressource
           
private  Submiter submiter
           
 
Constructor Summary
JDBCWriter()
          Constructor for JDBCWriter.
 
Method Summary
 void init(org.w3c.dom.Element xml)
           
 boolean putDocument(Message.MsgContext context, java.lang.Object doc)
           
 java.lang.Object putSyncDocument(Message.MsgContext context, java.lang.Object doc)
           
 void setSubmiter(Submiter s)
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

submiter

private Submiter submiter

ressource

private JDBCRessource ressource
Constructor Detail

JDBCWriter

public JDBCWriter()
Constructor for JDBCWriter.
Method Detail

putSyncDocument

public java.lang.Object putSyncDocument(Message.MsgContext context,
                                        java.lang.Object doc)
                                 throws java.lang.Exception
Specified by:
putSyncDocument in interface WritingFunction
Following copied from interface: submarine.core.WritingFunction
Parameters:
doc -  
context -  
Returns:
java.lang.Object
Throws:
java.lang.Exception -  

putDocument

public boolean putDocument(Message.MsgContext context,
                           java.lang.Object doc)
                    throws java.lang.Exception
Specified by:
putDocument in interface WritingFunction
Following copied from interface: submarine.core.WritingFunction
Parameters:
doc -  
context -  
Returns:
boolean
Throws:
java.lang.Exception -  

setSubmiter

public void setSubmiter(Submiter s)
Specified by:
setSubmiter in interface SubmiterAware
Following copied from interface: submarine.core.SubmiterAware
Parameters:
s -  

init

public void init(org.w3c.dom.Element xml)
          throws java.lang.Exception
Specified by:
init in interface XMLConfigurable
See Also:
MyRessource

Submarine project. free distribution of this software must include the opensource licence.
Guénolé de Cadoudal.