xmlBlaster 2.1.0 API

org.xmlBlaster.protocol.jdbc
Class ConnectionDescriptor

java.lang.Object
  extended by org.xmlBlaster.protocol.jdbc.ConnectionDescriptor

public class ConnectionDescriptor
extends java.lang.Object

Author:
James
See Also:
XmlDbMessageWrapper

Field Summary
private  java.lang.String command
           
private  boolean confirmation
           
private  long connectionlifespan
           
private  org.w3c.dom.Document document
           
private  java.lang.String documentrootnode
           
private  java.lang.String interaction
           
private  java.lang.String password
           
private  int rowlimit
           
private  java.lang.String rowrootnode
           
private  java.lang.String url
           
private  java.lang.String username
           
 
Constructor Summary
ConnectionDescriptor(org.w3c.dom.Document document)
           
 
Method Summary
 java.lang.String getCommand()
           
 boolean getConfirmation()
           
 long getConnectionlifespan()
          TODO: pass through to PoolManager
 java.lang.String getDocumentrootnode()
           
 java.lang.String getInteraction()
           
 java.lang.String getPassword()
           
 int getRowlimit()
           
 java.lang.String getRowrootnode()
           
 java.lang.String getUrl()
           
 java.lang.String getUsername()
           
private  void parse()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

url

private java.lang.String url

username

private java.lang.String username

password

private java.lang.String password

interaction

private java.lang.String interaction

command

private java.lang.String command

connectionlifespan

private long connectionlifespan

confirmation

private boolean confirmation

documentrootnode

private java.lang.String documentrootnode

rowrootnode

private java.lang.String rowrootnode

rowlimit

private int rowlimit

document

private org.w3c.dom.Document document
Constructor Detail

ConnectionDescriptor

public ConnectionDescriptor(org.w3c.dom.Document document)
Parameters:
document - This will be parsed
Method Detail

parse

private void parse()

getUrl

public java.lang.String getUrl()
Returns:
The JDBC connection string

getUsername

public java.lang.String getUsername()
Returns:
The database user

getPassword

public java.lang.String getPassword()
Returns:
The database password

getInteraction

public java.lang.String getInteraction()
Returns:
Intercation string

getCommand

public java.lang.String getCommand()
Returns:
The SQL statement

getConnectionlifespan

public long getConnectionlifespan()
TODO: pass through to PoolManager


getConfirmation

public boolean getConfirmation()
Returns:
User wants a return messsage?

getDocumentrootnode

public java.lang.String getDocumentrootnode()

getRowrootnode

public java.lang.String getRowrootnode()

getRowlimit

public int getRowlimit()
Returns:
The max number of returned result sets

xmlBlaster 2.1.0 API

Copyright © 1999-2011 The xmlBlaster.org contributers.