noel        2003/08/06 08:58:03

  Added:       www/mailet/org/apache/mailet Datasource.html
               www/mailet/org/apache/mailet/class-use Datasource.html
  Log:
  
  
  Revision  Changes    Path
  1.1                  james-server/www/mailet/org/apache/mailet/Datasource.html
  
  Index: Datasource.html
  ===================================================================
  <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 
Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd";>
  <!--NewPage-->
  <HTML>
  <HEAD>
  <!-- Generated by javadoc on Wed Aug 06 11:07:37 EDT 2003 -->
  <TITLE>
  Datasource (Apache Jakarta Mailet API)
  </TITLE>
  <META NAME="keywords" CONTENT="org.apache.mailet.Datasource,Datasource interface">
  <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
  </HEAD>
  <SCRIPT>
  function asd()
  {
  parent.document.title="Datasource (Apache Jakarta Mailet API)";
  }
  </SCRIPT>
  <BODY BGCOLOR="white" onload="asd();">
  
  <!-- ========== START OF NAVBAR ========== -->
  <A NAME="navbar_top"><!-- --></A>
  <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
  <TR>
  <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
  <A NAME="navbar_top_firstrow"><!-- --></A>
  <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
    <TR ALIGN="center" VALIGN="top">
    <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A 
HREF="../../../overview-summary.html"><FONT 
CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
    <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT 
CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
    <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT 
CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
    <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A 
HREF="class-use/Datasource.html"><FONT 
CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
    <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT 
CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
    <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A 
HREF="../../../deprecated-list.html"><FONT 
CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
    <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A 
HREF="../../../index-all.html"><FONT 
CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
    <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A 
HREF="../../../help-doc.html"><FONT 
CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
    </TR>
  </TABLE>
  </TD>
  <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
  </EM>
  </TD>
  </TR>
  
  <TR>
  <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  &nbsp;PREV CLASS&nbsp;
  &nbsp;<A HREF="../../../org/apache/mailet/Mail.html"><B>NEXT 
CLASS</B></A></FONT></TD>
  <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
    <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
  &nbsp;<A HREF="Datasource.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
  &nbsp;
  <SCRIPT>
    <!--
    if(window==top) {
      document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All 
Classes</B></A>');
    }
    //-->
  </SCRIPT>
  <NOSCRIPT>
  <A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
  </NOSCRIPT>
  </FONT></TD>
  </TR>
  <TR>
  <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
    SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A 
HREF="#method_summary">METHOD</A></FONT></TD>
  <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A 
HREF="#method_detail">METHOD</A></FONT></TD>
  </TR>
  </TABLE>
  <!-- =========== END OF NAVBAR =========== -->
  
  <HR>
  <!-- ======== START OF CLASS DATA ======== -->
  <H2>
  <FONT SIZE="-1">
  org.apache.mailet</FONT>
  <BR>
  Interface Datasource</H2>
  <HR>
  <DL>
  <DT>public interface <B>Datasource</B></DL>
  
  <P>
  Simple interface to define a component which can provide a JDBC connection
  <P>
  
  <P>
  <HR>
  
  <P>
  <!-- ======== NESTED CLASS SUMMARY ======== -->
  
  
  <!-- =========== FIELD SUMMARY =========== -->
  
  
  <!-- ======== CONSTRUCTOR SUMMARY ======== -->
  
  
  <!-- ========== METHOD SUMMARY =========== -->
  
  <A NAME="method_summary"><!-- --></A>
  <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
  <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  <TD COLSPAN=2><FONT SIZE="+2">
  <B>Method Summary</B></FONT></TD>
  </TR>
  <TR BGCOLOR="white" CLASS="TableRowColor">
  <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  <CODE>&nbsp;<A 
HREF="http://java.sun.com/j2se/1.4/docs/api/java/sql/Connection.html";>Connection</A></CODE></FONT></TD>
  <TD><CODE><B><A 
HREF="../../../org/apache/mailet/Datasource.html#getConnection()">getConnection</A></B>()</CODE>
  
  <BR>
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  </TR>
  </TABLE>
  &nbsp;
  <P>
  
  <!-- ============ FIELD DETAIL =========== -->
  
  
  <!-- ========= CONSTRUCTOR DETAIL ======== -->
  
  
  <!-- ============ METHOD DETAIL ========== -->
  
  <A NAME="method_detail"><!-- --></A>
  <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
  <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  <TD COLSPAN=1><FONT SIZE="+2">
  <B>Method Detail</B></FONT></TD>
  </TR>
  </TABLE>
  
  <A NAME="getConnection()"><!-- --></A><H3>
  getConnection</H3>
  <PRE>
  public <A 
HREF="http://java.sun.com/j2se/1.4/docs/api/java/sql/Connection.html";>Connection</A> 
<B>getConnection</B>()
                           throws <A 
HREF="http://java.sun.com/j2se/1.4/docs/api/java/sql/SQLException.html";>SQLException</A></PRE>
  <DL>
  <DD><DL>
  
  <DT><B>Returns:</B><DD>a JDBC connection to the JDBC database
  <DT><B>Throws:</B>
  <DD><CODE><A 
HREF="http://java.sun.com/j2se/1.4/docs/api/java/sql/SQLException.html";>SQLException</A></CODE></DL>
  </DD>
  </DL>
  <!-- ========= END OF CLASS DATA ========= -->
  <HR>
  
  <!-- ========== START OF NAVBAR ========== -->
  <A NAME="navbar_bottom"><!-- --></A>
  <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
  <TR>
  <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
  <A NAME="navbar_bottom_firstrow"><!-- --></A>
  <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
    <TR ALIGN="center" VALIGN="top">
    <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A 
HREF="../../../overview-summary.html"><FONT 
CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
    <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT 
CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
    <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT 
CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
    <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A 
HREF="class-use/Datasource.html"><FONT 
CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
    <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT 
CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
    <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A 
HREF="../../../deprecated-list.html"><FONT 
CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
    <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A 
HREF="../../../index-all.html"><FONT 
CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
    <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A 
HREF="../../../help-doc.html"><FONT 
CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
    </TR>
  </TABLE>
  </TD>
  <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
  </EM>
  </TD>
  </TR>
  
  <TR>
  <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  &nbsp;PREV CLASS&nbsp;
  &nbsp;<A HREF="../../../org/apache/mailet/Mail.html"><B>NEXT 
CLASS</B></A></FONT></TD>
  <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
    <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
  &nbsp;<A HREF="Datasource.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
  &nbsp;
  <SCRIPT>
    <!--
    if(window==top) {
      document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All 
Classes</B></A>');
    }
    //-->
  </SCRIPT>
  <NOSCRIPT>
  <A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
  </NOSCRIPT>
  </FONT></TD>
  </TR>
  <TR>
  <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
    SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A 
HREF="#method_summary">METHOD</A></FONT></TD>
  <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A 
HREF="#method_detail">METHOD</A></FONT></TD>
  </TR>
  </TABLE>
  <!-- =========== END OF NAVBAR =========== -->
  
  <HR>
  "Copyright � 1999-2003 Apache Jakarta Project. All Rights Reserved."
  </BODY>
  </HTML>
  
  
  
  1.1                  
james-server/www/mailet/org/apache/mailet/class-use/Datasource.html
  
  Index: Datasource.html
  ===================================================================
  <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 
Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd";>
  <!--NewPage-->
  <HTML>
  <HEAD>
  <!-- Generated by javadoc on Wed Aug 06 11:07:34 EDT 2003 -->
  <TITLE>
  Uses of Interface org.apache.mailet.Datasource (Apache Jakarta Mailet API)
  </TITLE>
  <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" 
TITLE="Style">
  </HEAD>
  <SCRIPT>
  function asd()
  {
  parent.document.title="Uses of Interface org.apache.mailet.Datasource (Apache 
Jakarta Mailet API)";
  }
  </SCRIPT>
  <BODY BGCOLOR="white" onload="asd();">
  
  <!-- ========== START OF NAVBAR ========== -->
  <A NAME="navbar_top"><!-- --></A>
  <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
  <TR>
  <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
  <A NAME="navbar_top_firstrow"><!-- --></A>
  <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
    <TR ALIGN="center" VALIGN="top">
    <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A 
HREF="../../../../overview-summary.html"><FONT 
CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
    <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A 
HREF="../package-summary.html"><FONT 
CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
    <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A 
HREF="../../../../org/apache/mailet/Datasource.html"><FONT 
CLASS="NavBarFont1"><B>Class</B></FONT></A>&nbsp;</TD>
    <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT 
CLASS="NavBarFont1Rev"><B>Use</B></FONT>&nbsp;</TD>
    <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../package-tree.html"><FONT 
CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
    <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A 
HREF="../../../../deprecated-list.html"><FONT 
CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
    <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A 
HREF="../../../../index-all.html"><FONT 
CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
    <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A 
HREF="../../../../help-doc.html"><FONT 
CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
    </TR>
  </TABLE>
  </TD>
  <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
  </EM>
  </TD>
  </TR>
  
  <TR>
  <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  &nbsp;PREV&nbsp;
  &nbsp;NEXT</FONT></TD>
  <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
    <A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
  &nbsp;<A HREF="Datasource.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
  &nbsp;
  <SCRIPT>
    <!--
    if(window==top) {
      document.writeln('<A HREF="../../../../allclasses-noframe.html" TARGET=""><B>All 
Classes</B></A>');
    }
    //-->
  </SCRIPT>
  <NOSCRIPT>
  <A HREF="../../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
  </NOSCRIPT>
  </FONT></TD>
  </TR>
  </TABLE>
  <!-- =========== END OF NAVBAR =========== -->
  
  <HR>
  <CENTER>
  <H2>
  <B>Uses of Interface<br>org.apache.mailet.Datasource</B></H2>
  </CENTER>
  
  <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
  <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  <TD COLSPAN=2><FONT SIZE="+2">
  Packages that use <A 
HREF="../../../../org/apache/mailet/Datasource.html">Datasource</A></FONT></TD>
  </TR>
  <TR BGCOLOR="white" CLASS="TableRowColor">
  <TD><A HREF="#org.apache.mailet"><B>org.apache.mailet</B></A></TD>
  <TD>The classes that constitute the Mailet API.&nbsp;</TD>
  </TR>
  </TABLE>
  &nbsp;
  <P>
  <A NAME="org.apache.mailet"><!-- --></A>
  <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
  <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  <TD COLSPAN=2><FONT SIZE="+2">
  Uses of <A HREF="../../../../org/apache/mailet/Datasource.html">Datasource</A> in <A 
HREF="../../../../org/apache/mailet/package-summary.html">org.apache.mailet</A></FONT></TD>
  </TR>
  </TABLE>
  &nbsp;
  <P>
  
  <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
  <TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
  <TD COLSPAN=2>Methods in <A 
HREF="../../../../org/apache/mailet/package-summary.html">org.apache.mailet</A> that 
return <A 
HREF="../../../../org/apache/mailet/Datasource.html">Datasource</A></FONT></TD>
  </TR>
  <TR BGCOLOR="white" CLASS="TableRowColor">
  <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  <CODE>&nbsp;<A 
HREF="../../../../org/apache/mailet/Datasource.html">Datasource</A></CODE></FONT></TD>
  <TD><CODE><B>MailetContext.</B><B><A 
HREF="../../../../org/apache/mailet/MailetContext.html#getDatasource(java.lang.String)">getDatasource</A></B>(<A
 
HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html";>String</A>&nbsp;datasourceURI)</CODE>
  
  <BR>
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  </TR>
  </TABLE>
  &nbsp;
  <P>
  <HR>
  
  <!-- ========== START OF NAVBAR ========== -->
  <A NAME="navbar_bottom"><!-- --></A>
  <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
  <TR>
  <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
  <A NAME="navbar_bottom_firstrow"><!-- --></A>
  <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
    <TR ALIGN="center" VALIGN="top">
    <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A 
HREF="../../../../overview-summary.html"><FONT 
CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
    <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A 
HREF="../package-summary.html"><FONT 
CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
    <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A 
HREF="../../../../org/apache/mailet/Datasource.html"><FONT 
CLASS="NavBarFont1"><B>Class</B></FONT></A>&nbsp;</TD>
    <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT 
CLASS="NavBarFont1Rev"><B>Use</B></FONT>&nbsp;</TD>
    <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../package-tree.html"><FONT 
CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
    <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A 
HREF="../../../../deprecated-list.html"><FONT 
CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
    <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A 
HREF="../../../../index-all.html"><FONT 
CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
    <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A 
HREF="../../../../help-doc.html"><FONT 
CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
    </TR>
  </TABLE>
  </TD>
  <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
  </EM>
  </TD>
  </TR>
  
  <TR>
  <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  &nbsp;PREV&nbsp;
  &nbsp;NEXT</FONT></TD>
  <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
    <A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
  &nbsp;<A HREF="Datasource.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
  &nbsp;
  <SCRIPT>
    <!--
    if(window==top) {
      document.writeln('<A HREF="../../../../allclasses-noframe.html" TARGET=""><B>All 
Classes</B></A>');
    }
    //-->
  </SCRIPT>
  <NOSCRIPT>
  <A HREF="../../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
  </NOSCRIPT>
  </FONT></TD>
  </TR>
  </TABLE>
  <!-- =========== END OF NAVBAR =========== -->
  
  <HR>
  "Copyright � 1999-2003 Apache Jakarta Project. All Rights Reserved."
  </BODY>
  </HTML>
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to