Repository: sling-site
Updated Branches:
  refs/heads/master 2e2cb445c -> 757222a68


http://git-wip-us.apache.org/repos/asf/sling-site/blob/757222a6/assets/apidocs/sling5/org/apache/sling/commons/testing/jcr/RepositoryUtil.html
----------------------------------------------------------------------
diff --git 
a/assets/apidocs/sling5/org/apache/sling/commons/testing/jcr/RepositoryUtil.html
 
b/assets/apidocs/sling5/org/apache/sling/commons/testing/jcr/RepositoryUtil.html
new file mode 100644
index 0000000..618f1c6
--- /dev/null
+++ 
b/assets/apidocs/sling5/org/apache/sling/commons/testing/jcr/RepositoryUtil.html
@@ -0,0 +1,544 @@
+<!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.6.0_10) on Mon May 11 08:55:05 CEST 2009 -->
+<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<TITLE>
+RepositoryUtil (Apache Sling Aggregate 5-incubator API)
+</TITLE>
+
+<META NAME="date" CONTENT="2009-05-11">
+
+<LINK REL ="stylesheet" TYPE="text/css" 
HREF="../../../../../../stylesheet.css" TITLE="Style">
+
+<SCRIPT type="text/javascript">
+function windowTitle()
+{
+    if (location.href.indexOf('is-external=true') == -1) {
+        parent.document.title="RepositoryUtil (Apache Sling Aggregate 
5-incubator API)";
+    }
+}
+</SCRIPT>
+<NOSCRIPT>
+</NOSCRIPT>
+
+</HEAD>
+
+<BODY BGCOLOR="white" onload="windowTitle();">
+<HR>
+
+
+<!-- ========= 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>&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/RepositoryUtil.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;<A 
HREF="../../../../../../org/apache/sling/commons/testing/jcr/RepositoryTestBase.html"
 title="class in org.apache.sling.commons.testing.jcr"><B>PREV 
CLASS</B></A>&nbsp;
+&nbsp;<A 
HREF="../../../../../../org/apache/sling/commons/testing/jcr/RepositoryUtil.RepositoryWrapper.html"
 title="class in org.apache.sling.commons.testing.jcr"><B>NEXT 
CLASS</B></A></FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+  <A 
HREF="../../../../../../index.html?org/apache/sling/commons/testing/jcr/RepositoryUtil.html"
 target="_top"><B>FRAMES</B></A>  &nbsp;
+&nbsp;<A HREF="RepositoryUtil.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
+&nbsp;<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:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A 
HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A 
HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A 
HREF="#method_summary">METHOD</A></FONT></TD>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A 
HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<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.sling.commons.testing.jcr</FONT>
+<BR>
+Class RepositoryUtil</H2>
+<PRE>
+java.lang.Object
+  <IMG SRC="../../../../../../resources/inherit.gif" ALT="extended by 
"><B>org.apache.sling.commons.testing.jcr.RepositoryUtil</B>
+</PRE>
+<HR>
+<DL>
+<DT><PRE>public class <B>RepositoryUtil</B><DT>extends java.lang.Object</DL>
+</PRE>
+
+<P>
+Utility class for managing JCR repositories, used to initialize temporary
+ Jackrabbit repositories for testing.
+<P>
+
+<P>
+<HR>
+
+<P>
+<!-- ======== NESTED CLASS SUMMARY ======== -->
+
+<A NAME="nested_class_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>Nested Class Summary</B></FONT></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static&nbsp;class</CODE></FONT></TD>
+<TD><CODE><B><A 
HREF="../../../../../../org/apache/sling/commons/testing/jcr/RepositoryUtil.RepositoryWrapper.html"
 title="class in 
org.apache.sling.commons.testing.jcr">RepositoryUtil.RepositoryWrapper</A></B></CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
+</TR>
+</TABLE>
+&nbsp;<!-- =========== FIELD SUMMARY =========== -->
+
+<A NAME="field_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>Field Summary</B></FONT></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
+<TD><CODE><B><A 
HREF="../../../../../../org/apache/sling/commons/testing/jcr/RepositoryUtil.html#ADMIN_NAME">ADMIN_NAME</A></B></CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
+<TD><CODE><B><A 
HREF="../../../../../../org/apache/sling/commons/testing/jcr/RepositoryUtil.html#ADMIN_PASSWORD">ADMIN_PASSWORD</A></B></CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
+<TD><CODE><B><A 
HREF="../../../../../../org/apache/sling/commons/testing/jcr/RepositoryUtil.html#CONFIG_FILE">CONFIG_FILE</A></B></CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
+<TD><CODE><B><A 
HREF="../../../../../../org/apache/sling/commons/testing/jcr/RepositoryUtil.html#CONTEXT_FACTORY">CONTEXT_FACTORY</A></B></CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
+<TD><CODE><B><A 
HREF="../../../../../../org/apache/sling/commons/testing/jcr/RepositoryUtil.html#HOME_DIR">HOME_DIR</A></B></CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
+<TD><CODE><B><A 
HREF="../../../../../../org/apache/sling/commons/testing/jcr/RepositoryUtil.html#PROVIDER_URL">PROVIDER_URL</A></B></CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
+<TD><CODE><B><A 
HREF="../../../../../../org/apache/sling/commons/testing/jcr/RepositoryUtil.html#REPOSITORY_NAME">REPOSITORY_NAME</A></B></CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
+</TR>
+</TABLE>
+&nbsp;
+<!-- ======== CONSTRUCTOR SUMMARY ======== -->
+
+<A NAME="constructor_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>Constructor Summary</B></FONT></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><B><A 
HREF="../../../../../../org/apache/sling/commons/testing/jcr/RepositoryUtil.html#RepositoryUtil()">RepositoryUtil</A></B>()</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
+</TR>
+</TABLE>
+&nbsp;
+<!-- ========== 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>protected static&nbsp;javax.naming.InitialContext</CODE></FONT></TD>
+<TD><CODE><B><A 
HREF="../../../../../../org/apache/sling/commons/testing/jcr/RepositoryUtil.html#getInitialContext()">getInitialContext</A></B>()</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static&nbsp;org.apache.sling.jcr.api.SlingRepository</CODE></FONT></TD>
+<TD><CODE><B><A 
HREF="../../../../../../org/apache/sling/commons/testing/jcr/RepositoryUtil.html#getRepository()">getRepository</A></B>()</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get a 
repository</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static&nbsp;boolean</CODE></FONT></TD>
+<TD><CODE><B><A 
HREF="../../../../../../org/apache/sling/commons/testing/jcr/RepositoryUtil.html#registerNodeType(javax.jcr.Session,
 java.io.InputStream)">registerNodeType</A></B>(javax.jcr.Session&nbsp;session,
+                 java.io.InputStream&nbsp;source)</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Registers node 
types from the CND file read from the <code>source</code>
+ with the node type manager available from the given <code>session</code>.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static&nbsp;void</CODE></FONT></TD>
+<TD><CODE><B><A 
HREF="../../../../../../org/apache/sling/commons/testing/jcr/RepositoryUtil.html#startRepository()">startRepository</A></B>()</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Start a new 
repository</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static&nbsp;void</CODE></FONT></TD>
+<TD><CODE><B><A 
HREF="../../../../../../org/apache/sling/commons/testing/jcr/RepositoryUtil.html#stopRepository()">stopRepository</A></B>()</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Stop a 
repository.</TD>
+</TR>
+</TABLE>
+&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
+<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, 
toString, wait, wait, wait</CODE></TD>
+</TR>
+</TABLE>
+&nbsp;
+<P>
+
+<!-- ============ FIELD DETAIL =========== -->
+
+<A NAME="field_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>Field Detail</B></FONT></TH>
+</TR>
+</TABLE>
+
+<A NAME="REPOSITORY_NAME"><!-- --></A><H3>
+REPOSITORY_NAME</H3>
+<PRE>
+public static final java.lang.String <B>REPOSITORY_NAME</B></PRE>
+<DL>
+<DL>
+<DT><B>See Also:</B><DD><A 
HREF="../../../../../../constant-values.html#org.apache.sling.commons.testing.jcr.RepositoryUtil.REPOSITORY_NAME">Constant
 Field Values</A></DL>
+</DL>
+<HR>
+
+<A NAME="ADMIN_NAME"><!-- --></A><H3>
+ADMIN_NAME</H3>
+<PRE>
+public static final java.lang.String <B>ADMIN_NAME</B></PRE>
+<DL>
+<DL>
+<DT><B>See Also:</B><DD><A 
HREF="../../../../../../constant-values.html#org.apache.sling.commons.testing.jcr.RepositoryUtil.ADMIN_NAME">Constant
 Field Values</A></DL>
+</DL>
+<HR>
+
+<A NAME="ADMIN_PASSWORD"><!-- --></A><H3>
+ADMIN_PASSWORD</H3>
+<PRE>
+public static final java.lang.String <B>ADMIN_PASSWORD</B></PRE>
+<DL>
+<DL>
+<DT><B>See Also:</B><DD><A 
HREF="../../../../../../constant-values.html#org.apache.sling.commons.testing.jcr.RepositoryUtil.ADMIN_PASSWORD">Constant
 Field Values</A></DL>
+</DL>
+<HR>
+
+<A NAME="CONTEXT_FACTORY"><!-- --></A><H3>
+CONTEXT_FACTORY</H3>
+<PRE>
+public static final java.lang.String <B>CONTEXT_FACTORY</B></PRE>
+<DL>
+<DL>
+<DT><B>See Also:</B><DD><A 
HREF="../../../../../../constant-values.html#org.apache.sling.commons.testing.jcr.RepositoryUtil.CONTEXT_FACTORY">Constant
 Field Values</A></DL>
+</DL>
+<HR>
+
+<A NAME="PROVIDER_URL"><!-- --></A><H3>
+PROVIDER_URL</H3>
+<PRE>
+public static final java.lang.String <B>PROVIDER_URL</B></PRE>
+<DL>
+<DL>
+<DT><B>See Also:</B><DD><A 
HREF="../../../../../../constant-values.html#org.apache.sling.commons.testing.jcr.RepositoryUtil.PROVIDER_URL">Constant
 Field Values</A></DL>
+</DL>
+<HR>
+
+<A NAME="CONFIG_FILE"><!-- --></A><H3>
+CONFIG_FILE</H3>
+<PRE>
+public static final java.lang.String <B>CONFIG_FILE</B></PRE>
+<DL>
+<DL>
+<DT><B>See Also:</B><DD><A 
HREF="../../../../../../constant-values.html#org.apache.sling.commons.testing.jcr.RepositoryUtil.CONFIG_FILE">Constant
 Field Values</A></DL>
+</DL>
+<HR>
+
+<A NAME="HOME_DIR"><!-- --></A><H3>
+HOME_DIR</H3>
+<PRE>
+public static final java.lang.String <B>HOME_DIR</B></PRE>
+<DL>
+<DL>
+<DT><B>See Also:</B><DD><A 
HREF="../../../../../../constant-values.html#org.apache.sling.commons.testing.jcr.RepositoryUtil.HOME_DIR">Constant
 Field Values</A></DL>
+</DL>
+
+<!-- ========= CONSTRUCTOR DETAIL ======== -->
+
+<A NAME="constructor_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>Constructor Detail</B></FONT></TH>
+</TR>
+</TABLE>
+
+<A NAME="RepositoryUtil()"><!-- --></A><H3>
+RepositoryUtil</H3>
+<PRE>
+public <B>RepositoryUtil</B>()</PRE>
+<DL>
+</DL>
+
+<!-- ============ 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="getInitialContext()"><!-- --></A><H3>
+getInitialContext</H3>
+<PRE>
+protected static javax.naming.InitialContext <B>getInitialContext</B>()
+                                                        throws 
javax.naming.NamingException</PRE>
+<DL>
+<DD><DL>
+
+<DT><B>Throws:</B>
+<DD><CODE>javax.naming.NamingException</CODE></DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="startRepository()"><!-- --></A><H3>
+startRepository</H3>
+<PRE>
+public static void <B>startRepository</B>()
+                            throws javax.jcr.RepositoryException,
+                                   javax.naming.NamingException</PRE>
+<DL>
+<DD>Start a new repository
+<P>
+<DD><DL>
+
+<DT><B>Throws:</B>
+<DD><CODE>javax.jcr.RepositoryException</CODE> - when it is not possible to 
start the
+             repository.
+<DD><CODE>javax.naming.NamingException</CODE></DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="stopRepository()"><!-- --></A><H3>
+stopRepository</H3>
+<PRE>
+public static void <B>stopRepository</B>()
+                           throws javax.naming.NamingException</PRE>
+<DL>
+<DD>Stop a repository.
+<P>
+<DD><DL>
+
+<DT><B>Throws:</B>
+<DD><CODE>javax.naming.NamingException</CODE> - when it is not possible to 
stop the repository
+<DD><CODE>javax.naming.NamingException</CODE></DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getRepository()"><!-- --></A><H3>
+getRepository</H3>
+<PRE>
+public static org.apache.sling.jcr.api.SlingRepository <B>getRepository</B>()
+                                                              throws 
javax.naming.NamingException</PRE>
+<DL>
+<DD>Get a repository
+<P>
+<DD><DL>
+
+<DT><B>Returns:</B><DD>a JCR repository reference
+<DT><B>Throws:</B>
+<DD><CODE>javax.naming.NamingException</CODE> - when it is not possible to get 
the repository.
+             Before calling this method, the repository has to be
+             registered (@see RepositoryUtil#registerRepository(String,
+             String, String)
+<DD><CODE>javax.naming.NamingException</CODE></DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="registerNodeType(javax.jcr.Session, java.io.InputStream)"><!-- 
--></A><H3>
+registerNodeType</H3>
+<PRE>
+public static boolean <B>registerNodeType</B>(javax.jcr.Session&nbsp;session,
+                                       java.io.InputStream&nbsp;source)
+                                throws java.io.IOException,
+                                       javax.jcr.RepositoryException</PRE>
+<DL>
+<DD>Registers node types from the CND file read from the <code>source</code>
+ with the node type manager available from the given <code>session</code>.
+ <p>
+ The <code>NodeTypeManager</code> returned by the <code>session</code>'s
+ workspace is expected to be of type
+ <code>org.apache.jackrabbit.api.JackrabbitNodeTypeManager</code> for
+ the node type registration to succeed.
+ <p>
+ This method is not synchronized. It is up to the calling method to
+ prevent paralell execution.
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>session</CODE> - The <code>Session</code> 
providing the node type manager
+            through which the node type is to be 
registered.<DD><CODE>source</CODE> - The <code>InputStream</code> from which 
the CND file is
+            read.
+<DT><B>Returns:</B><DD><code>true</code> if registration of all node types 
succeeded.
+<DT><B>Throws:</B>
+<DD><CODE>java.io.IOException</CODE>
+<DD><CODE>javax.jcr.RepositoryException</CODE></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>&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/RepositoryUtil.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;<A 
HREF="../../../../../../org/apache/sling/commons/testing/jcr/RepositoryTestBase.html"
 title="class in org.apache.sling.commons.testing.jcr"><B>PREV 
CLASS</B></A>&nbsp;
+&nbsp;<A 
HREF="../../../../../../org/apache/sling/commons/testing/jcr/RepositoryUtil.RepositoryWrapper.html"
 title="class in org.apache.sling.commons.testing.jcr"><B>NEXT 
CLASS</B></A></FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+  <A 
HREF="../../../../../../index.html?org/apache/sling/commons/testing/jcr/RepositoryUtil.html"
 target="_top"><B>FRAMES</B></A>  &nbsp;
+&nbsp;<A HREF="RepositoryUtil.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
+&nbsp;<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:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A 
HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A 
HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A 
HREF="#method_summary">METHOD</A></FONT></TD>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A 
HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A 
HREF="#method_detail">METHOD</A></FONT></TD>
+</TR>
+</TABLE>
+<A NAME="skip-navbar_bottom"></A>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+
+<HR>
+Copyright &#169; 2007-2009. All Rights Reserved.
+</BODY>
+</HTML>

Reply via email to