summaryrefslogtreecommitdiffstats
path: root/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/core/scope/ScopeContainer.html
diff options
context:
space:
mode:
Diffstat (limited to 'site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/core/scope/ScopeContainer.html')
-rw-r--r--site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/core/scope/ScopeContainer.html697
1 files changed, 697 insertions, 0 deletions
diff --git a/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/core/scope/ScopeContainer.html b/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/core/scope/ScopeContainer.html
new file mode 100644
index 0000000000..1ab1c219d7
--- /dev/null
+++ b/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/core/scope/ScopeContainer.html
@@ -0,0 +1,697 @@
+<!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_11) on Tue Jan 27 20:37:57 CST 2009 -->
+<TITLE>
+ScopeContainer
+</TITLE>
+
+<META NAME="date" CONTENT="2009-01-27">
+
+<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="ScopeContainer";
+ }
+}
+</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="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/tuscany/sca/core/scope/Scope.html" title="class in org.apache.tuscany.sca.core.scope"><B>PREV CLASS</B></A>&nbsp;
+&nbsp;<A HREF="../../../../../../org/apache/tuscany/sca/core/scope/ScopeContainerFactory.html" title="interface in org.apache.tuscany.sca.core.scope"><B>NEXT CLASS</B></A></FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../../../../index.html?org/apache/tuscany/sca/core/scope/ScopeContainer.html" target="_top"><B>FRAMES</B></A> &nbsp;
+&nbsp;<A HREF="ScopeContainer.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;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&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;CONSTR&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.tuscany.sca.core.scope</FONT>
+<BR>
+Interface ScopeContainer&lt;KEY&gt;</H2>
+<DL>
+<DT><DT><B>Type Parameters:</B><DD><CODE>KEY</CODE> - the type of IDs that this container uses to identify its contexts.
+ For example, for COMPOSITE scope this could be the URI of the composite component,
+ or for HTTP Session scope it might be the HTTP session ID.</DL>
+<DL>
+<DT><B>All Superinterfaces:</B> <DD>java.util.EventListener, <A HREF="../../../../../../org/apache/tuscany/sca/event/RuntimeEventListener.html" title="interface in org.apache.tuscany.sca.event">RuntimeEventListener</A></DD>
+</DL>
+<DL>
+<DT><B>All Known Implementing Classes:</B> <DD><A HREF="../../../../../../org/apache/tuscany/sca/core/scope/AbstractScopeContainer.html" title="class in org.apache.tuscany.sca.core.scope">AbstractScopeContainer</A>, <A HREF="../../../../../../org/apache/tuscany/sca/core/scope/CompositeScopeContainer.html" title="class in org.apache.tuscany.sca.core.scope">CompositeScopeContainer</A>, <A HREF="../../../../../../org/apache/tuscany/sca/core/scope/ConversationalScopeContainer.html" title="class in org.apache.tuscany.sca.core.scope">ConversationalScopeContainer</A>, <A HREF="../../../../../../org/apache/tuscany/sca/core/scope/HttpSessionScopeContainer.html" title="class in org.apache.tuscany.sca.core.scope">HttpSessionScopeContainer</A>, <A HREF="../../../../../../org/apache/tuscany/sca/core/scope/RequestScopeContainer.html" title="class in org.apache.tuscany.sca.core.scope">RequestScopeContainer</A>, <A HREF="../../../../../../org/apache/tuscany/sca/core/scope/StatelessScopeContainer.html" title="class in org.apache.tuscany.sca.core.scope">StatelessScopeContainer</A></DD>
+</DL>
+<HR>
+<DL>
+<DT><PRE>public interface <B>ScopeContainer&lt;KEY&gt;</B><DT>extends <A HREF="../../../../../../org/apache/tuscany/sca/event/RuntimeEventListener.html" title="interface in org.apache.tuscany.sca.event">RuntimeEventListener</A></DL>
+</PRE>
+
+<P>
+Manages the lifecycle and visibility of instances associated with a an <A HREF="../../../../../../org/apache/tuscany/sca/runtime/RuntimeComponent.html" title="interface in org.apache.tuscany.sca.runtime"><CODE>RuntimeComponent</CODE></A>.
+<P>
+
+<P>
+<HR>
+
+<P>
+<!-- =========== 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;int</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../../../org/apache/tuscany/sca/core/scope/ScopeContainer.html#CONFIG_ERROR">CONFIG_ERROR</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;int</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../../../org/apache/tuscany/sca/core/scope/ScopeContainer.html#ERROR">ERROR</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;int</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../../../org/apache/tuscany/sca/core/scope/ScopeContainer.html#INITIALIZED">INITIALIZED</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;int</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../../../org/apache/tuscany/sca/core/scope/ScopeContainer.html#INITIALIZING">INITIALIZING</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;int</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../../../org/apache/tuscany/sca/core/scope/ScopeContainer.html#RUNNING">RUNNING</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;int</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../../../org/apache/tuscany/sca/core/scope/ScopeContainer.html#STOPPED">STOPPED</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;int</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../../../org/apache/tuscany/sca/core/scope/ScopeContainer.html#STOPPING">STOPPING</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;int</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../../../org/apache/tuscany/sca/core/scope/ScopeContainer.html#UNINITIALIZED">UNINITIALIZED</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>&nbsp;void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../../../org/apache/tuscany/sca/core/scope/ScopeContainer.html#addWrapperReference(KEY, KEY)">addWrapperReference</A></B>(<A HREF="../../../../../../org/apache/tuscany/sca/core/scope/ScopeContainer.html" title="type parameter in ScopeContainer">KEY</A>&nbsp;existingContextId,
+ <A HREF="../../../../../../org/apache/tuscany/sca/core/scope/ScopeContainer.html" title="type parameter in ScopeContainer">KEY</A>&nbsp;newContextId)</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Allows a component to be registered against more than one context id.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>&nbsp;<A HREF="../../../../../../org/apache/tuscany/sca/core/context/InstanceWrapper.html" title="interface in org.apache.tuscany.sca.core.context">InstanceWrapper</A></CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../../../org/apache/tuscany/sca/core/scope/ScopeContainer.html#getAssociatedWrapper(KEY)">getAssociatedWrapper</A></B>(<A HREF="../../../../../../org/apache/tuscany/sca/core/scope/ScopeContainer.html" title="type parameter in ScopeContainer">KEY</A>&nbsp;contextId)</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns an implementation instance associated with the current scope context.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>&nbsp;int</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../../../org/apache/tuscany/sca/core/scope/ScopeContainer.html#getLifecycleState()">getLifecycleState</A></B>()</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the lifecycle state</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>&nbsp;<A HREF="../../../../../../org/apache/tuscany/sca/core/scope/Scope.html" title="class in org.apache.tuscany.sca.core.scope">Scope</A></CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../../../org/apache/tuscany/sca/core/scope/ScopeContainer.html#getScope()">getScope</A></B>()</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the Scope that this container supports.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>&nbsp;<A HREF="../../../../../../org/apache/tuscany/sca/core/context/InstanceWrapper.html" title="interface in org.apache.tuscany.sca.core.context">InstanceWrapper</A></CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../../../org/apache/tuscany/sca/core/scope/ScopeContainer.html#getWrapper(KEY)">getWrapper</A></B>(<A HREF="../../../../../../org/apache/tuscany/sca/core/scope/ScopeContainer.html" title="type parameter in ScopeContainer">KEY</A>&nbsp;contextId)</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns an instance wrapper associated with the current scope context, creating one if necessary</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>&nbsp;void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../../../org/apache/tuscany/sca/core/scope/ScopeContainer.html#registerWrapper(org.apache.tuscany.sca.core.context.InstanceWrapper, KEY)">registerWrapper</A></B>(<A HREF="../../../../../../org/apache/tuscany/sca/core/context/InstanceWrapper.html" title="interface in org.apache.tuscany.sca.core.context">InstanceWrapper</A>&nbsp;wrapper,
+ <A HREF="../../../../../../org/apache/tuscany/sca/core/scope/ScopeContainer.html" title="type parameter in ScopeContainer">KEY</A>&nbsp;contextId)</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Register an existing instance against a context id.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>&nbsp;void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../../../org/apache/tuscany/sca/core/scope/ScopeContainer.html#remove(KEY)">remove</A></B>(<A HREF="../../../../../../org/apache/tuscany/sca/core/scope/ScopeContainer.html" title="type parameter in ScopeContainer">KEY</A>&nbsp;contextId)</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Removes an identified component implementation instance associated with the current
+ context from persistent storage</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>&nbsp;void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../../../org/apache/tuscany/sca/core/scope/ScopeContainer.html#returnWrapper(org.apache.tuscany.sca.core.context.InstanceWrapper, KEY)">returnWrapper</A></B>(<A HREF="../../../../../../org/apache/tuscany/sca/core/context/InstanceWrapper.html" title="interface in org.apache.tuscany.sca.core.context">InstanceWrapper</A>&nbsp;wrapper,
+ <A HREF="../../../../../../org/apache/tuscany/sca/core/scope/ScopeContainer.html" title="type parameter in ScopeContainer">KEY</A>&nbsp;contextId)</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return a wrapper after use (for example, after invoking the instance).</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>&nbsp;void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../../../org/apache/tuscany/sca/core/scope/ScopeContainer.html#start()">start</A></B>()</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Starts the Lifecycle.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>&nbsp;void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../../../org/apache/tuscany/sca/core/scope/ScopeContainer.html#startContext(KEY)">startContext</A></B>(<A HREF="../../../../../../org/apache/tuscany/sca/core/scope/ScopeContainer.html" title="type parameter in ScopeContainer">KEY</A>&nbsp;contextId)</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Start a new context with the supplied ID.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>&nbsp;void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../../../org/apache/tuscany/sca/core/scope/ScopeContainer.html#stop()">stop</A></B>()</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Stops the Lifecycle.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>&nbsp;void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../../../org/apache/tuscany/sca/core/scope/ScopeContainer.html#stopContext(KEY)">stopContext</A></B>(<A HREF="../../../../../../org/apache/tuscany/sca/core/scope/ScopeContainer.html" title="type parameter in ScopeContainer">KEY</A>&nbsp;contextId)</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Stop the context with the supplied ID.</TD>
+</TR>
+</TABLE>
+&nbsp;<A NAME="methods_inherited_from_class_org.apache.tuscany.sca.event.RuntimeEventListener"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
+<TH ALIGN="left"><B>Methods inherited from interface org.apache.tuscany.sca.event.<A HREF="../../../../../../org/apache/tuscany/sca/event/RuntimeEventListener.html" title="interface in org.apache.tuscany.sca.event">RuntimeEventListener</A></B></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><A HREF="../../../../../../org/apache/tuscany/sca/event/RuntimeEventListener.html#onEvent(org.apache.tuscany.sca.event.Event)">onEvent</A></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="CONFIG_ERROR"><!-- --></A><H3>
+CONFIG_ERROR</H3>
+<PRE>
+static final int <B>CONFIG_ERROR</B></PRE>
+<DL>
+<DL>
+<DT><B>See Also:</B><DD><A HREF="../../../../../../constant-values.html#org.apache.tuscany.sca.core.scope.ScopeContainer.CONFIG_ERROR">Constant Field Values</A></DL>
+</DL>
+<HR>
+
+<A NAME="UNINITIALIZED"><!-- --></A><H3>
+UNINITIALIZED</H3>
+<PRE>
+static final int <B>UNINITIALIZED</B></PRE>
+<DL>
+<DL>
+<DT><B>See Also:</B><DD><A HREF="../../../../../../constant-values.html#org.apache.tuscany.sca.core.scope.ScopeContainer.UNINITIALIZED">Constant Field Values</A></DL>
+</DL>
+<HR>
+
+<A NAME="INITIALIZING"><!-- --></A><H3>
+INITIALIZING</H3>
+<PRE>
+static final int <B>INITIALIZING</B></PRE>
+<DL>
+<DL>
+<DT><B>See Also:</B><DD><A HREF="../../../../../../constant-values.html#org.apache.tuscany.sca.core.scope.ScopeContainer.INITIALIZING">Constant Field Values</A></DL>
+</DL>
+<HR>
+
+<A NAME="INITIALIZED"><!-- --></A><H3>
+INITIALIZED</H3>
+<PRE>
+static final int <B>INITIALIZED</B></PRE>
+<DL>
+<DL>
+<DT><B>See Also:</B><DD><A HREF="../../../../../../constant-values.html#org.apache.tuscany.sca.core.scope.ScopeContainer.INITIALIZED">Constant Field Values</A></DL>
+</DL>
+<HR>
+
+<A NAME="RUNNING"><!-- --></A><H3>
+RUNNING</H3>
+<PRE>
+static final int <B>RUNNING</B></PRE>
+<DL>
+<DL>
+<DT><B>See Also:</B><DD><A HREF="../../../../../../constant-values.html#org.apache.tuscany.sca.core.scope.ScopeContainer.RUNNING">Constant Field Values</A></DL>
+</DL>
+<HR>
+
+<A NAME="STOPPING"><!-- --></A><H3>
+STOPPING</H3>
+<PRE>
+static final int <B>STOPPING</B></PRE>
+<DL>
+<DL>
+<DT><B>See Also:</B><DD><A HREF="../../../../../../constant-values.html#org.apache.tuscany.sca.core.scope.ScopeContainer.STOPPING">Constant Field Values</A></DL>
+</DL>
+<HR>
+
+<A NAME="STOPPED"><!-- --></A><H3>
+STOPPED</H3>
+<PRE>
+static final int <B>STOPPED</B></PRE>
+<DL>
+<DL>
+<DT><B>See Also:</B><DD><A HREF="../../../../../../constant-values.html#org.apache.tuscany.sca.core.scope.ScopeContainer.STOPPED">Constant Field Values</A></DL>
+</DL>
+<HR>
+
+<A NAME="ERROR"><!-- --></A><H3>
+ERROR</H3>
+<PRE>
+static final int <B>ERROR</B></PRE>
+<DL>
+<DL>
+<DT><B>See Also:</B><DD><A HREF="../../../../../../constant-values.html#org.apache.tuscany.sca.core.scope.ScopeContainer.ERROR">Constant Field Values</A></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="getScope()"><!-- --></A><H3>
+getScope</H3>
+<PRE>
+<A HREF="../../../../../../org/apache/tuscany/sca/core/scope/Scope.html" title="class in org.apache.tuscany.sca.core.scope">Scope</A> <B>getScope</B>()</PRE>
+<DL>
+<DD>Returns the Scope that this container supports.
+<P>
+<DD><DL>
+</DL>
+</DD>
+<DD><DL>
+
+<DT><B>Returns:</B><DD>the Scope that this container supports</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="startContext(java.lang.Object)"><!-- --></A><A NAME="startContext(KEY)"><!-- --></A><H3>
+startContext</H3>
+<PRE>
+void <B>startContext</B>(<A HREF="../../../../../../org/apache/tuscany/sca/core/scope/ScopeContainer.html" title="type parameter in ScopeContainer">KEY</A>&nbsp;contextId)</PRE>
+<DL>
+<DD>Start a new context with the supplied ID.
+<P>
+<DD><DL>
+</DL>
+</DD>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>contextId</CODE> - an ID that uniquely identifies the context.</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="stopContext(java.lang.Object)"><!-- --></A><A NAME="stopContext(KEY)"><!-- --></A><H3>
+stopContext</H3>
+<PRE>
+void <B>stopContext</B>(<A HREF="../../../../../../org/apache/tuscany/sca/core/scope/ScopeContainer.html" title="type parameter in ScopeContainer">KEY</A>&nbsp;contextId)</PRE>
+<DL>
+<DD>Stop the context with the supplied ID.
+<P>
+<DD><DL>
+</DL>
+</DD>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>contextId</CODE> - an ID that uniquely identifies the context.</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getWrapper(java.lang.Object)"><!-- --></A><A NAME="getWrapper(KEY)"><!-- --></A><H3>
+getWrapper</H3>
+<PRE>
+<A HREF="../../../../../../org/apache/tuscany/sca/core/context/InstanceWrapper.html" title="interface in org.apache.tuscany.sca.core.context">InstanceWrapper</A> <B>getWrapper</B>(<A HREF="../../../../../../org/apache/tuscany/sca/core/scope/ScopeContainer.html" title="type parameter in ScopeContainer">KEY</A>&nbsp;contextId)
+ throws <A HREF="../../../../../../org/apache/tuscany/sca/core/scope/TargetResolutionException.html" title="class in org.apache.tuscany.sca.core.scope">TargetResolutionException</A></PRE>
+<DL>
+<DD>Returns an instance wrapper associated with the current scope context, creating one if necessary
+<P>
+<DD><DL>
+</DL>
+</DD>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>contextId</CODE> - the id for the scope context
+<DT><B>Returns:</B><DD>the wrapper for the target instance
+<DT><B>Throws:</B>
+<DD><CODE><A HREF="../../../../../../org/apache/tuscany/sca/core/scope/TargetResolutionException.html" title="class in org.apache.tuscany.sca.core.scope">TargetResolutionException</A></CODE> - if there was a problem instantiating the target instance</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="addWrapperReference(java.lang.Object,java.lang.Object)"><!-- --></A><A NAME="addWrapperReference(KEY, KEY)"><!-- --></A><H3>
+addWrapperReference</H3>
+<PRE>
+void <B>addWrapperReference</B>(<A HREF="../../../../../../org/apache/tuscany/sca/core/scope/ScopeContainer.html" title="type parameter in ScopeContainer">KEY</A>&nbsp;existingContextId,
+ <A HREF="../../../../../../org/apache/tuscany/sca/core/scope/ScopeContainer.html" title="type parameter in ScopeContainer">KEY</A>&nbsp;newContextId)
+ throws <A HREF="../../../../../../org/apache/tuscany/sca/core/scope/TargetResolutionException.html" title="class in org.apache.tuscany.sca.core.scope">TargetResolutionException</A></PRE>
+<DL>
+<DD>Allows a component to be registered against more than one context id. This is required in the
+ case of stateful callbacks where we want to identify the originating client component instance
+ as the callback target but we don't want to reuse the clients original conversation id
+<P>
+<DD><DL>
+</DL>
+</DD>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>existingContextId</CODE> - an id that identifies an existing component instance<DD><CODE>newContextId</CODE> - a new id against which this component will also be registered
+<DT><B>Throws:</B>
+<DD><CODE><A HREF="../../../../../../org/apache/tuscany/sca/core/scope/TargetResolutionException.html" title="class in org.apache.tuscany.sca.core.scope">TargetResolutionException</A></CODE></DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="registerWrapper(org.apache.tuscany.sca.core.context.InstanceWrapper,java.lang.Object)"><!-- --></A><A NAME="registerWrapper(org.apache.tuscany.sca.core.context.InstanceWrapper, KEY)"><!-- --></A><H3>
+registerWrapper</H3>
+<PRE>
+void <B>registerWrapper</B>(<A HREF="../../../../../../org/apache/tuscany/sca/core/context/InstanceWrapper.html" title="interface in org.apache.tuscany.sca.core.context">InstanceWrapper</A>&nbsp;wrapper,
+ <A HREF="../../../../../../org/apache/tuscany/sca/core/scope/ScopeContainer.html" title="type parameter in ScopeContainer">KEY</A>&nbsp;contextId)
+ throws <A HREF="../../../../../../org/apache/tuscany/sca/core/scope/TargetResolutionException.html" title="class in org.apache.tuscany.sca.core.scope">TargetResolutionException</A></PRE>
+<DL>
+<DD>Register an existing instance against a context id. This is needed
+ for a stateful callback where the service reference for the forward call
+ contains a callback object that is not a service reference.
+<P>
+<DD><DL>
+</DL>
+</DD>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>wrapper</CODE> - the instance wrapper for the instance to be registered<DD><CODE>contextId</CODE> - the id for the scope context
+<DT><B>Throws:</B>
+<DD><CODE><A HREF="../../../../../../org/apache/tuscany/sca/core/scope/TargetResolutionException.html" title="class in org.apache.tuscany.sca.core.scope">TargetResolutionException</A></CODE></DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getAssociatedWrapper(java.lang.Object)"><!-- --></A><A NAME="getAssociatedWrapper(KEY)"><!-- --></A><H3>
+getAssociatedWrapper</H3>
+<PRE>
+<A HREF="../../../../../../org/apache/tuscany/sca/core/context/InstanceWrapper.html" title="interface in org.apache.tuscany.sca.core.context">InstanceWrapper</A> <B>getAssociatedWrapper</B>(<A HREF="../../../../../../org/apache/tuscany/sca/core/scope/ScopeContainer.html" title="type parameter in ScopeContainer">KEY</A>&nbsp;contextId)
+ throws <A HREF="../../../../../../org/apache/tuscany/sca/core/scope/TargetResolutionException.html" title="class in org.apache.tuscany.sca.core.scope">TargetResolutionException</A></PRE>
+<DL>
+<DD>Returns an implementation instance associated with the current scope context.
+ If no instance is found, a <A HREF="../../../../../../org/apache/tuscany/sca/core/scope/TargetNotFoundException.html" title="class in org.apache.tuscany.sca.core.scope"><CODE>TargetNotFoundException</CODE></A> is thrown.
+<P>
+<DD><DL>
+</DL>
+</DD>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>contextId</CODE> - the id for the scope context
+<DT><B>Returns:</B><DD>the wrapper for the target instance
+<DT><B>Throws:</B>
+<DD><CODE><A HREF="../../../../../../org/apache/tuscany/sca/core/scope/TargetResolutionException.html" title="class in org.apache.tuscany.sca.core.scope">TargetResolutionException</A></CODE> - if there was a problem instantiating the target instance</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="returnWrapper(org.apache.tuscany.sca.core.context.InstanceWrapper,java.lang.Object)"><!-- --></A><A NAME="returnWrapper(org.apache.tuscany.sca.core.context.InstanceWrapper, KEY)"><!-- --></A><H3>
+returnWrapper</H3>
+<PRE>
+void <B>returnWrapper</B>(<A HREF="../../../../../../org/apache/tuscany/sca/core/context/InstanceWrapper.html" title="interface in org.apache.tuscany.sca.core.context">InstanceWrapper</A>&nbsp;wrapper,
+ <A HREF="../../../../../../org/apache/tuscany/sca/core/scope/ScopeContainer.html" title="type parameter in ScopeContainer">KEY</A>&nbsp;contextId)
+ throws <A HREF="../../../../../../org/apache/tuscany/sca/core/scope/TargetDestructionException.html" title="class in org.apache.tuscany.sca.core.scope">TargetDestructionException</A></PRE>
+<DL>
+<DD>Return a wrapper after use (for example, after invoking the instance).
+<P>
+<DD><DL>
+</DL>
+</DD>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>wrapper</CODE> - the wrapper for the target instance being returned<DD><CODE>contextId</CODE> - the id for the scope context
+<DT><B>Throws:</B>
+<DD><CODE><A HREF="../../../../../../org/apache/tuscany/sca/core/scope/TargetDestructionException.html" title="class in org.apache.tuscany.sca.core.scope">TargetDestructionException</A></CODE> - if there was a problem returning the target instance</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="remove(java.lang.Object)"><!-- --></A><A NAME="remove(KEY)"><!-- --></A><H3>
+remove</H3>
+<PRE>
+void <B>remove</B>(<A HREF="../../../../../../org/apache/tuscany/sca/core/scope/ScopeContainer.html" title="type parameter in ScopeContainer">KEY</A>&nbsp;contextId)
+ throws <A HREF="../../../../../../org/apache/tuscany/sca/core/scope/TargetDestructionException.html" title="class in org.apache.tuscany.sca.core.scope">TargetDestructionException</A></PRE>
+<DL>
+<DD>Removes an identified component implementation instance associated with the current
+ context from persistent storage
+<P>
+<DD><DL>
+</DL>
+</DD>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>contextId</CODE> - the identifier of the context to remove.
+<DT><B>Throws:</B>
+<DD><CODE><A HREF="../../../../../../org/apache/tuscany/sca/core/scope/TargetDestructionException.html" title="class in org.apache.tuscany.sca.core.scope">TargetDestructionException</A></CODE></DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getLifecycleState()"><!-- --></A><H3>
+getLifecycleState</H3>
+<PRE>
+int <B>getLifecycleState</B>()</PRE>
+<DL>
+<DD>Returns the lifecycle state
+<P>
+<DD><DL>
+</DL>
+</DD>
+<DD><DL>
+<DT><B>See Also:</B><DD><A HREF="../../../../../../org/apache/tuscany/sca/core/scope/ScopeContainer.html#UNINITIALIZED"><CODE>UNINITIALIZED</CODE></A>,
+<A HREF="../../../../../../org/apache/tuscany/sca/core/scope/ScopeContainer.html#INITIALIZING"><CODE>INITIALIZING</CODE></A>,
+<A HREF="../../../../../../org/apache/tuscany/sca/core/scope/ScopeContainer.html#INITIALIZED"><CODE>INITIALIZED</CODE></A>,
+<A HREF="../../../../../../org/apache/tuscany/sca/core/scope/ScopeContainer.html#RUNNING"><CODE>RUNNING</CODE></A>,
+<A HREF="../../../../../../org/apache/tuscany/sca/core/scope/ScopeContainer.html#STOPPING"><CODE>STOPPING</CODE></A>,
+<A HREF="../../../../../../org/apache/tuscany/sca/core/scope/ScopeContainer.html#STOPPED"><CODE>STOPPED</CODE></A></DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="start()"><!-- --></A><H3>
+start</H3>
+<PRE>
+void <B>start</B>()</PRE>
+<DL>
+<DD>Starts the Lifecycle.
+<P>
+<DD><DL>
+</DL>
+</DD>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="stop()"><!-- --></A><H3>
+stop</H3>
+<PRE>
+void <B>stop</B>()</PRE>
+<DL>
+<DD>Stops the Lifecycle.
+<P>
+<DD><DL>
+</DL>
+</DD>
+<DD><DL>
+</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="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/tuscany/sca/core/scope/Scope.html" title="class in org.apache.tuscany.sca.core.scope"><B>PREV CLASS</B></A>&nbsp;
+&nbsp;<A HREF="../../../../../../org/apache/tuscany/sca/core/scope/ScopeContainerFactory.html" title="interface in org.apache.tuscany.sca.core.scope"><B>NEXT CLASS</B></A></FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../../../../index.html?org/apache/tuscany/sca/core/scope/ScopeContainer.html" target="_top"><B>FRAMES</B></A> &nbsp;
+&nbsp;<A HREF="ScopeContainer.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;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&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;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
+</TR>
+</TABLE>
+<A NAME="skip-navbar_bottom"></A>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+
+<HR>
+
+</BODY>
+</HTML>