    All Packages  Class Hierarchy  This Package  Previous  Next  Index

# Class org.w3c.jigsaw.ssi.jdbc.jdbcCommand

    java.lang.Object
       |
       +----org.w3c.jigsaw.ssi.jdbc.jdbcCommand

public class jdbcCommand
extends Object
implements Command

Implementation of the SSI `jdbc` command.

##

jdbcCommand()

##

acceptCaching()
  return true if reply can be cached.
addSet(Dictionary, String, Request, ResultSet)
execute(SSIFrame, Request, ArrayDictionary, Dictionary)
getConnection(String, String, String, String)
getName()
getSet(Dictionary, String, Request)
getValue(Dictionary, String, Request)
hasMoreValue(Dictionary, String, Request)
performSelect(Connection, String)
sethasMoreValueFlag(Dictionary, String, Request, boolean)

##

jdbcCommand

     public jdbcCommand()

##

acceptCaching

     public boolean acceptCaching()

  return true if reply can be cached.

  Returns:
    a boolean.

getConnection

     protected Connection getConnection(String driver,
                                        String url,
                                        String user,
                                        String password)

performSelect

     protected ResultSet performSelect(Connection conn,
                                       String cmd)

addSet

     protected void addSet(Dictionary d,
                           String name,
                           Request request,
                           ResultSet set)

getSet

     protected ResultSet getSet(Dictionary d,
                                String name,
                                Request request)

getName

     public String getName()

getValue

     public String getValue(Dictionary variables,
                            String var,
                            Request request)

sethasMoreValueFlag

     protected void sethasMoreValueFlag(Dictionary d,
                                        String name,
                                        Request request,
                                        boolean flag)

hasMoreValue

     protected boolean hasMoreValue(Dictionary d,
                                    String name,
                                    Request request)

execute

     public synchronized Reply execute(SSIFrame ssiframe,
                                       Request request,
                                       ArrayDictionary parameters,
                                       Dictionary variables)

    All Packages  Class Hierarchy  This Package  Previous  Next  Index