submarine.connectors
Class ShellWriter

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

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


Field Summary
private  org.w3c.dom.Element command
           
private  org.w3c.dom.Element dir
           
private  Submiter submiter
           
private  ThreadManager thManager
           
 
Constructor Summary
ShellWriter()
          Constructor for ShellWriter.
 
Method Summary
private  java.lang.String execute(java.lang.Object doc, Message.MsgContext context, boolean sync)
           
 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

command

private org.w3c.dom.Element command

dir

private org.w3c.dom.Element dir

submiter

private Submiter submiter

thManager

private ThreadManager thManager
Constructor Detail

ShellWriter

public ShellWriter()
Constructor for ShellWriter.
Method Detail

execute

private java.lang.String execute(java.lang.Object doc,
                                 Message.MsgContext context,
                                 boolean sync)
                          throws java.lang.Exception

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 -  

init

public void init(org.w3c.dom.Element xml)
          throws java.lang.Exception
Specified by:
init in interface XMLConfigurable
Following copied from interface: submarine.core.XMLConfigurable
Parameters:
xml -  
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 -  

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