diff options
Diffstat (limited to 'site/trunk/site-publish/doc/javadoc/java-sca-0.9/sca-spi/org/apache/tuscany/sca/contribution/service/ContributionRepository.html')
-rw-r--r-- | site/trunk/site-publish/doc/javadoc/java-sca-0.9/sca-spi/org/apache/tuscany/sca/contribution/service/ContributionRepository.html | 346 |
1 files changed, 346 insertions, 0 deletions
diff --git a/site/trunk/site-publish/doc/javadoc/java-sca-0.9/sca-spi/org/apache/tuscany/sca/contribution/service/ContributionRepository.html b/site/trunk/site-publish/doc/javadoc/java-sca-0.9/sca-spi/org/apache/tuscany/sca/contribution/service/ContributionRepository.html new file mode 100644 index 0000000000..f4ac71fccf --- /dev/null +++ b/site/trunk/site-publish/doc/javadoc/java-sca-0.9/sca-spi/org/apache/tuscany/sca/contribution/service/ContributionRepository.html @@ -0,0 +1,346 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!--NewPage-->
+<HTML>
+<HEAD>
+<!-- Generated by javadoc (build 1.5.0_11) on Tue Jun 05 22:00:52 PDT 2007 -->
+<TITLE>
+ContributionRepository
+</TITLE>
+
+<META NAME="keywords" CONTENT="org.apache.tuscany.sca.contribution.service.ContributionRepository interface">
+
+<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../../stylesheet.css" TITLE="Style">
+
+<SCRIPT type="text/javascript">
+function windowTitle()
+{
+ parent.document.title="ContributionRepository";
+}
+</SCRIPT>
+<NOSCRIPT>
+</NOSCRIPT>
+
+</HEAD>
+
+<BODY BGCOLOR="white" onload="windowTitle();">
+
+
+<!-- ========= START OF TOP NAVBAR ======= -->
+<A NAME="navbar_top"><!-- --></A>
+<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
+<TR>
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+<A NAME="navbar_top_firstrow"><!-- --></A>
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
+ <TR ALIGN="center" VALIGN="top">
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
+ <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/ContributionRepository.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
+ </TR>
+</TABLE>
+</TD>
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
+</EM>
+</TD>
+</TR>
+
+<TR>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../../../../org/apache/tuscany/sca/contribution/service/ContributionReadException.html" title="class in org.apache.tuscany.sca.contribution.service"><B>PREV CLASS</B></A>
+ <A HREF="../../../../../../org/apache/tuscany/sca/contribution/service/ContributionResolveException.html" title="class in org.apache.tuscany.sca.contribution.service"><B>NEXT CLASS</B></A></FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../../../../index.html?org/apache/tuscany/sca/contribution/service/ContributionRepository.html" target="_top"><B>FRAMES</B></A>
+ <A HREF="ContributionRepository.html" target="_top"><B>NO FRAMES</B></A>
+ <SCRIPT type="text/javascript">
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
+ }
+ //-->
+</SCRIPT>
+<NOSCRIPT>
+ <A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>
+</NOSCRIPT>
+
+
+</FONT></TD>
+</TR>
+<TR>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+ SUMMARY: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD>
+</TR>
+</TABLE>
+<A NAME="skip-navbar_top"></A>
+<!-- ========= END OF TOP NAVBAR ========= -->
+
+<HR>
+<!-- ======== START OF CLASS DATA ======== -->
+<H2>
+<FONT SIZE="-1">
+org.apache.tuscany.sca.contribution.service</FONT>
+<BR>
+Interface ContributionRepository</H2>
+<HR>
+<DL>
+<DT><PRE>public interface <B>ContributionRepository</B></DL>
+</PRE>
+
+<P>
+Contribution repository
+<P>
+
+<P>
+<DL>
+<DT><B>Version:</B></DT>
+ <DD>$Rev$ $Date$</DD>
+</DL>
+<HR>
+
+<P>
+
+<!-- ========== METHOD SUMMARY =========== -->
+
+<A NAME="method_summary"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
+<B>Method Summary</B></FONT></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> java.net.URL</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../../../org/apache/tuscany/sca/contribution/service/ContributionRepository.html#find(java.lang.String)">find</A></B>(java.lang.String contribution)</CODE>
+
+<BR>
+ Look up the contribution by URI</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> java.net.URI</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../../../org/apache/tuscany/sca/contribution/service/ContributionRepository.html#getDomain()">getDomain</A></B>()</CODE>
+
+<BR>
+ Get the URI of the SCA domain</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> java.util.List<java.lang.String></CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../../../org/apache/tuscany/sca/contribution/service/ContributionRepository.html#list()">list</A></B>()</CODE>
+
+<BR>
+ Get list of URIs for all the contributions in the repository</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../../../org/apache/tuscany/sca/contribution/service/ContributionRepository.html#remove(java.lang.String)">remove</A></B>(java.lang.String contribution)</CODE>
+
+<BR>
+ Remove a contribution from the repository</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> java.net.URL</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../../../org/apache/tuscany/sca/contribution/service/ContributionRepository.html#store(java.lang.String, java.net.URL)">store</A></B>(java.lang.String contribution,
+ java.net.URL sourceURL)</CODE>
+
+<BR>
+ Copy a contribution from the source URL to the repository</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> java.net.URL</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../../../org/apache/tuscany/sca/contribution/service/ContributionRepository.html#store(java.lang.String, java.net.URL, java.io.InputStream)">store</A></B>(java.lang.String contribution,
+ java.net.URL sourceURL,
+ java.io.InputStream contributionStream)</CODE>
+
+<BR>
+ Copies a contribution to the repository.</TD>
+</TR>
+</TABLE>
+
+<P>
+
+<!-- ============ METHOD DETAIL ========== -->
+
+<A NAME="method_detail"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
+<B>Method Detail</B></FONT></TH>
+</TR>
+</TABLE>
+
+<A NAME="getDomain()"><!-- --></A><H3>
+getDomain</H3>
+<PRE>
+java.net.URI <B>getDomain</B>()</PRE>
+<DL>
+<DD>Get the URI of the SCA domain
+<P>
+<DD><DL>
+
+<DT><B>Returns:</B><DD>The domain URI</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="store(java.lang.String, java.net.URL, java.io.InputStream)"><!-- --></A><H3>
+store</H3>
+<PRE>
+java.net.URL <B>store</B>(java.lang.String contribution,
+ java.net.URL sourceURL,
+ java.io.InputStream contributionStream)
+ throws java.io.IOException</PRE>
+<DL>
+<DD>Copies a contribution to the repository.
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>contribution</CODE> - A URl pointing to the contribution being copied to + the repository<DD><CODE>sourceURL</CODE> - url of the source. this would be used to calculate the right + filename to be stored on the repository when a inputStream is being + provided<DD><CODE>contributionStream</CODE> - InputStream with the content of the + distribution
+<DT><B>Returns:</B><DD>A URL pointing to the content of the contribution in the + repository
+<DT><B>Throws:</B>
+<DD><CODE>java.io.IOException</CODE></DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="store(java.lang.String, java.net.URL)"><!-- --></A><H3>
+store</H3>
+<PRE>
+java.net.URL <B>store</B>(java.lang.String contribution,
+ java.net.URL sourceURL)
+ throws java.io.IOException</PRE>
+<DL>
+<DD>Copy a contribution from the source URL to the repository
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>contribution</CODE> - A URl pointing to the contribution being copied to + the repository<DD><CODE>sourceURL</CODE> - url of the source. this would be used to calculate the right + filename to be stored on the repository when a inputStream is being + provided
+<DT><B>Returns:</B><DD>A URL pointing to the content of the contribution in the + repository
+<DT><B>Throws:</B>
+<DD><CODE>java.io.IOException</CODE></DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="find(java.lang.String)"><!-- --></A><H3>
+find</H3>
+<PRE>
+java.net.URL <B>find</B>(java.lang.String contribution)</PRE>
+<DL>
+<DD>Look up the contribution by URI
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>contribution</CODE> - The URI of the contribution
+<DT><B>Returns:</B><DD>A URL pointing to the content of the contribution in the + repository, it will be null if the contribution cannot be found + in the repository</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="remove(java.lang.String)"><!-- --></A><H3>
+remove</H3>
+<PRE>
+void <B>remove</B>(java.lang.String contribution)</PRE>
+<DL>
+<DD>Remove a contribution from the repository
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>contribution</CODE> - The URI of the contribution to be removed</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="list()"><!-- --></A><H3>
+list</H3>
+<PRE>
+java.util.List<java.lang.String> <B>list</B>()</PRE>
+<DL>
+<DD>Get list of URIs for all the contributions in the repository
+<P>
+<DD><DL>
+
+<DT><B>Returns:</B><DD>A list of contribution URIs</DL>
+</DD>
+</DL>
+<!-- ========= END OF CLASS DATA ========= -->
+<HR>
+
+
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<A NAME="navbar_bottom"><!-- --></A>
+<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
+<TR>
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+<A NAME="navbar_bottom_firstrow"><!-- --></A>
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
+ <TR ALIGN="center" VALIGN="top">
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
+ <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/ContributionRepository.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
+ </TR>
+</TABLE>
+</TD>
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
+</EM>
+</TD>
+</TR>
+
+<TR>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../../../../org/apache/tuscany/sca/contribution/service/ContributionReadException.html" title="class in org.apache.tuscany.sca.contribution.service"><B>PREV CLASS</B></A>
+ <A HREF="../../../../../../org/apache/tuscany/sca/contribution/service/ContributionResolveException.html" title="class in org.apache.tuscany.sca.contribution.service"><B>NEXT CLASS</B></A></FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../../../../index.html?org/apache/tuscany/sca/contribution/service/ContributionRepository.html" target="_top"><B>FRAMES</B></A>
+ <A HREF="ContributionRepository.html" target="_top"><B>NO FRAMES</B></A>
+ <SCRIPT type="text/javascript">
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
+ }
+ //-->
+</SCRIPT>
+<NOSCRIPT>
+ <A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>
+</NOSCRIPT>
+
+
+</FONT></TD>
+</TR>
+<TR>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+ SUMMARY: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD>
+</TR>
+</TABLE>
+<A NAME="skip-navbar_bottom"></A>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+
+<HR>
+
+</BODY>
+</HTML>
|