summaryrefslogtreecommitdiffstats
path: root/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/core/scope/AbstractScopeContainer.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/AbstractScopeContainer.html')
-rw-r--r--site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/core/scope/AbstractScopeContainer.html868
1 files changed, 868 insertions, 0 deletions
diff --git a/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/core/scope/AbstractScopeContainer.html b/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/core/scope/AbstractScopeContainer.html
new file mode 100644
index 0000000000..cb1100d616
--- /dev/null
+++ b/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/core/scope/AbstractScopeContainer.html
@@ -0,0 +1,868 @@
+<!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>
+AbstractScopeContainer
+</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="AbstractScopeContainer";
+ }
+}
+</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;PREV CLASS&nbsp;
+&nbsp;<A HREF="../../../../../../org/apache/tuscany/sca/core/scope/CompositeScopeContainer.html" title="class 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/AbstractScopeContainer.html" target="_top"><B>FRAMES</B></A> &nbsp;
+&nbsp;<A HREF="AbstractScopeContainer.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;<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.tuscany.sca.core.scope</FONT>
+<BR>
+Class AbstractScopeContainer&lt;KEY&gt;</H2>
+<PRE>
+java.lang.Object
+ <IMG SRC="../../../../../../resources/inherit.gif" ALT="extended by "><B>org.apache.tuscany.sca.core.scope.AbstractScopeContainer&lt;KEY&gt;</B>
+</PRE>
+<DL>
+<DT><B>All Implemented Interfaces:</B> <DD>java.util.EventListener, <A HREF="../../../../../../org/apache/tuscany/sca/core/scope/ScopeContainer.html" title="interface in org.apache.tuscany.sca.core.scope">ScopeContainer</A>&lt;KEY&gt;, <A HREF="../../../../../../org/apache/tuscany/sca/event/RuntimeEventListener.html" title="interface in org.apache.tuscany.sca.event">RuntimeEventListener</A></DD>
+</DL>
+<DL>
+<DT><B>Direct Known Subclasses:</B> <DD><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 abstract class <B>AbstractScopeContainer&lt;KEY&gt;</B><DT>extends java.lang.Object<DT>implements <A HREF="../../../../../../org/apache/tuscany/sca/core/scope/ScopeContainer.html" title="interface in org.apache.tuscany.sca.core.scope">ScopeContainer</A>&lt;KEY&gt;</DL>
+</PRE>
+
+<P>
+Implements functionality common to scope contexts.
+<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>protected &nbsp;<A HREF="../../../../../../org/apache/tuscany/sca/runtime/RuntimeComponent.html" title="interface in org.apache.tuscany.sca.runtime">RuntimeComponent</A></CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../../../org/apache/tuscany/sca/core/scope/AbstractScopeContainer.html#component">component</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>protected &nbsp;int</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../../../org/apache/tuscany/sca/core/scope/AbstractScopeContainer.html#lifecycleState">lifecycleState</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>protected &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/AbstractScopeContainer.html#scope">scope</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>protected &nbsp;java.util.Map&lt;<A HREF="../../../../../../org/apache/tuscany/sca/core/scope/AbstractScopeContainer.html" title="type parameter in AbstractScopeContainer">KEY</A>,<A HREF="../../../../../../org/apache/tuscany/sca/core/context/InstanceWrapper.html" title="interface in org.apache.tuscany.sca.core.context">InstanceWrapper</A>&lt;?&gt;&gt;</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../../../org/apache/tuscany/sca/core/scope/AbstractScopeContainer.html#wrappers">wrappers</A></B></CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
+</TR>
+</TABLE>
+&nbsp;<A NAME="fields_inherited_from_class_org.apache.tuscany.sca.core.scope.ScopeContainer"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
+<TH ALIGN="left"><B>Fields inherited from interface org.apache.tuscany.sca.core.scope.<A HREF="../../../../../../org/apache/tuscany/sca/core/scope/ScopeContainer.html" title="interface in org.apache.tuscany.sca.core.scope">ScopeContainer</A></B></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><A HREF="../../../../../../org/apache/tuscany/sca/core/scope/ScopeContainer.html#CONFIG_ERROR">CONFIG_ERROR</A>, <A HREF="../../../../../../org/apache/tuscany/sca/core/scope/ScopeContainer.html#ERROR">ERROR</A>, <A HREF="../../../../../../org/apache/tuscany/sca/core/scope/ScopeContainer.html#INITIALIZED">INITIALIZED</A>, <A HREF="../../../../../../org/apache/tuscany/sca/core/scope/ScopeContainer.html#INITIALIZING">INITIALIZING</A>, <A HREF="../../../../../../org/apache/tuscany/sca/core/scope/ScopeContainer.html#RUNNING">RUNNING</A>, <A HREF="../../../../../../org/apache/tuscany/sca/core/scope/ScopeContainer.html#STOPPED">STOPPED</A>, <A HREF="../../../../../../org/apache/tuscany/sca/core/scope/ScopeContainer.html#STOPPING">STOPPING</A>, <A HREF="../../../../../../org/apache/tuscany/sca/core/scope/ScopeContainer.html#UNINITIALIZED">UNINITIALIZED</A></CODE></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/tuscany/sca/core/scope/AbstractScopeContainer.html#AbstractScopeContainer(org.apache.tuscany.sca.core.scope.Scope, org.apache.tuscany.sca.runtime.RuntimeComponent)">AbstractScopeContainer</A></B>(<A HREF="../../../../../../org/apache/tuscany/sca/core/scope/Scope.html" title="class in org.apache.tuscany.sca.core.scope">Scope</A>&nbsp;scope,
+ <A HREF="../../../../../../org/apache/tuscany/sca/runtime/RuntimeComponent.html" title="interface in org.apache.tuscany.sca.runtime">RuntimeComponent</A>&nbsp;component)</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/AbstractScopeContainer.html#addWrapperReference(KEY, KEY)">addWrapperReference</A></B>(<A HREF="../../../../../../org/apache/tuscany/sca/core/scope/AbstractScopeContainer.html" title="type parameter in AbstractScopeContainer">KEY</A>&nbsp;existingContextId,
+ <A HREF="../../../../../../org/apache/tuscany/sca/core/scope/AbstractScopeContainer.html" title="type parameter in AbstractScopeContainer">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>protected &nbsp;void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../../../org/apache/tuscany/sca/core/scope/AbstractScopeContainer.html#checkInit()">checkInit</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>protected &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/AbstractScopeContainer.html#createInstanceWrapper()">createInstanceWrapper</A></B>()</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a new physical instance of a component, wrapped in an
+ InstanceWrapper.</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/AbstractScopeContainer.html#getAssociatedWrapper(KEY)">getAssociatedWrapper</A></B>(<A HREF="../../../../../../org/apache/tuscany/sca/core/scope/AbstractScopeContainer.html" title="type parameter in AbstractScopeContainer">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;<A HREF="../../../../../../org/apache/tuscany/sca/runtime/RuntimeComponent.html" title="interface in org.apache.tuscany.sca.runtime">RuntimeComponent</A></CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../../../org/apache/tuscany/sca/core/scope/AbstractScopeContainer.html#getComponent()">getComponent</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>&nbsp;int</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../../../org/apache/tuscany/sca/core/scope/AbstractScopeContainer.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/AbstractScopeContainer.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/AbstractScopeContainer.html#getWrapper(KEY)">getWrapper</A></B>(<A HREF="../../../../../../org/apache/tuscany/sca/core/scope/AbstractScopeContainer.html" title="type parameter in AbstractScopeContainer">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>protected &nbsp;boolean</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../../../org/apache/tuscany/sca/core/scope/AbstractScopeContainer.html#isEagerInit()">isEagerInit</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>&nbsp;void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../../../org/apache/tuscany/sca/core/scope/AbstractScopeContainer.html#onEvent(org.apache.tuscany.sca.event.Event)">onEvent</A></B>(<A HREF="../../../../../../org/apache/tuscany/sca/event/Event.html" title="interface in org.apache.tuscany.sca.event">Event</A>&nbsp;event)</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Accepts and event and acts on it</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/AbstractScopeContainer.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/AbstractScopeContainer.html" title="type parameter in AbstractScopeContainer">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/AbstractScopeContainer.html#remove(KEY)">remove</A></B>(<A HREF="../../../../../../org/apache/tuscany/sca/core/scope/AbstractScopeContainer.html" title="type parameter in AbstractScopeContainer">KEY</A>&nbsp;contextId)</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default implementation of remove which does nothing</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/AbstractScopeContainer.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/AbstractScopeContainer.html" title="type parameter in AbstractScopeContainer">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/AbstractScopeContainer.html#setComponent(org.apache.tuscany.sca.runtime.RuntimeComponent)">setComponent</A></B>(<A HREF="../../../../../../org/apache/tuscany/sca/runtime/RuntimeComponent.html" title="interface in org.apache.tuscany.sca.runtime">RuntimeComponent</A>&nbsp;component)</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>protected &nbsp;void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../../../org/apache/tuscany/sca/core/scope/AbstractScopeContainer.html#setLifecycleState(int)">setLifecycleState</A></B>(int&nbsp;lifecycleState)</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the current state of 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/AbstractScopeContainer.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/AbstractScopeContainer.html#startContext(KEY)">startContext</A></B>(<A HREF="../../../../../../org/apache/tuscany/sca/core/scope/AbstractScopeContainer.html" title="type parameter in AbstractScopeContainer">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/AbstractScopeContainer.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/AbstractScopeContainer.html#stopContext(KEY)">stopContext</A></B>(<A HREF="../../../../../../org/apache/tuscany/sca/core/scope/AbstractScopeContainer.html" title="type parameter in AbstractScopeContainer">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>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../../../org/apache/tuscany/sca/core/scope/AbstractScopeContainer.html#toString()">toString</A></B>()</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</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, 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="wrappers"><!-- --></A><H3>
+wrappers</H3>
+<PRE>
+protected java.util.Map&lt;<A HREF="../../../../../../org/apache/tuscany/sca/core/scope/AbstractScopeContainer.html" title="type parameter in AbstractScopeContainer">KEY</A>,<A HREF="../../../../../../org/apache/tuscany/sca/core/context/InstanceWrapper.html" title="interface in org.apache.tuscany.sca.core.context">InstanceWrapper</A>&lt;?&gt;&gt; <B>wrappers</B></PRE>
+<DL>
+<DL>
+</DL>
+</DL>
+<HR>
+
+<A NAME="scope"><!-- --></A><H3>
+scope</H3>
+<PRE>
+protected final <A HREF="../../../../../../org/apache/tuscany/sca/core/scope/Scope.html" title="class in org.apache.tuscany.sca.core.scope">Scope</A> <B>scope</B></PRE>
+<DL>
+<DL>
+</DL>
+</DL>
+<HR>
+
+<A NAME="component"><!-- --></A><H3>
+component</H3>
+<PRE>
+protected <A HREF="../../../../../../org/apache/tuscany/sca/runtime/RuntimeComponent.html" title="interface in org.apache.tuscany.sca.runtime">RuntimeComponent</A> <B>component</B></PRE>
+<DL>
+<DL>
+</DL>
+</DL>
+<HR>
+
+<A NAME="lifecycleState"><!-- --></A><H3>
+lifecycleState</H3>
+<PRE>
+protected volatile int <B>lifecycleState</B></PRE>
+<DL>
+<DL>
+</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="AbstractScopeContainer(org.apache.tuscany.sca.core.scope.Scope, org.apache.tuscany.sca.runtime.RuntimeComponent)"><!-- --></A><H3>
+AbstractScopeContainer</H3>
+<PRE>
+public <B>AbstractScopeContainer</B>(<A HREF="../../../../../../org/apache/tuscany/sca/core/scope/Scope.html" title="class in org.apache.tuscany.sca.core.scope">Scope</A>&nbsp;scope,
+ <A HREF="../../../../../../org/apache/tuscany/sca/runtime/RuntimeComponent.html" title="interface in org.apache.tuscany.sca.runtime">RuntimeComponent</A>&nbsp;component)</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="checkInit()"><!-- --></A><H3>
+checkInit</H3>
+<PRE>
+protected void <B>checkInit</B>()</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="createInstanceWrapper()"><!-- --></A><H3>
+createInstanceWrapper</H3>
+<PRE>
+protected <A HREF="../../../../../../org/apache/tuscany/sca/core/context/InstanceWrapper.html" title="interface in org.apache.tuscany.sca.core.context">InstanceWrapper</A> <B>createInstanceWrapper</B>()
+ 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>Creates a new physical instance of a component, wrapped in an
+ InstanceWrapper.
+<P>
+<DD><DL>
+</DL>
+</DD>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>component</CODE> - the component whose instance should be created
+<DT><B>Returns:</B><DD>a wrapped instance that has been injected but not yet started
+<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 creating the
+ instance</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getAssociatedWrapper(java.lang.Object)"><!-- --></A><A NAME="getAssociatedWrapper(KEY)"><!-- --></A><H3>
+getAssociatedWrapper</H3>
+<PRE>
+public <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/AbstractScopeContainer.html" title="type parameter in AbstractScopeContainer">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><B>Description copied from interface: <CODE><A HREF="../../../../../../org/apache/tuscany/sca/core/scope/ScopeContainer.html#getAssociatedWrapper(KEY)">ScopeContainer</A></CODE></B></DD>
+<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>
+<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../org/apache/tuscany/sca/core/scope/ScopeContainer.html#getAssociatedWrapper(KEY)">getAssociatedWrapper</A></CODE> in interface <CODE><A HREF="../../../../../../org/apache/tuscany/sca/core/scope/ScopeContainer.html" title="interface in org.apache.tuscany.sca.core.scope">ScopeContainer</A>&lt;<A HREF="../../../../../../org/apache/tuscany/sca/core/scope/AbstractScopeContainer.html" title="type parameter in AbstractScopeContainer">KEY</A>&gt;</CODE></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="getScope()"><!-- --></A><H3>
+getScope</H3>
+<PRE>
+public <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><B>Description copied from interface: <CODE><A HREF="../../../../../../org/apache/tuscany/sca/core/scope/ScopeContainer.html#getScope()">ScopeContainer</A></CODE></B></DD>
+<DD>Returns the Scope that this container supports.
+<P>
+<DD><DL>
+<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../org/apache/tuscany/sca/core/scope/ScopeContainer.html#getScope()">getScope</A></CODE> in interface <CODE><A HREF="../../../../../../org/apache/tuscany/sca/core/scope/ScopeContainer.html" title="interface in org.apache.tuscany.sca.core.scope">ScopeContainer</A>&lt;<A HREF="../../../../../../org/apache/tuscany/sca/core/scope/AbstractScopeContainer.html" title="type parameter in AbstractScopeContainer">KEY</A>&gt;</CODE></DL>
+</DD>
+<DD><DL>
+
+<DT><B>Returns:</B><DD>the Scope that this container supports</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getWrapper(java.lang.Object)"><!-- --></A><A NAME="getWrapper(KEY)"><!-- --></A><H3>
+getWrapper</H3>
+<PRE>
+public <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/AbstractScopeContainer.html" title="type parameter in AbstractScopeContainer">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><B>Description copied from interface: <CODE><A HREF="../../../../../../org/apache/tuscany/sca/core/scope/ScopeContainer.html#getWrapper(KEY)">ScopeContainer</A></CODE></B></DD>
+<DD>Returns an instance wrapper associated with the current scope context, creating one if necessary
+<P>
+<DD><DL>
+<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../org/apache/tuscany/sca/core/scope/ScopeContainer.html#getWrapper(KEY)">getWrapper</A></CODE> in interface <CODE><A HREF="../../../../../../org/apache/tuscany/sca/core/scope/ScopeContainer.html" title="interface in org.apache.tuscany.sca.core.scope">ScopeContainer</A>&lt;<A HREF="../../../../../../org/apache/tuscany/sca/core/scope/AbstractScopeContainer.html" title="type parameter in AbstractScopeContainer">KEY</A>&gt;</CODE></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>
+public void <B>addWrapperReference</B>(<A HREF="../../../../../../org/apache/tuscany/sca/core/scope/AbstractScopeContainer.html" title="type parameter in AbstractScopeContainer">KEY</A>&nbsp;existingContextId,
+ <A HREF="../../../../../../org/apache/tuscany/sca/core/scope/AbstractScopeContainer.html" title="type parameter in AbstractScopeContainer">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><B>Description copied from interface: <CODE><A HREF="../../../../../../org/apache/tuscany/sca/core/scope/ScopeContainer.html#addWrapperReference(KEY, KEY)">ScopeContainer</A></CODE></B></DD>
+<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>
+<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../org/apache/tuscany/sca/core/scope/ScopeContainer.html#addWrapperReference(KEY, KEY)">addWrapperReference</A></CODE> in interface <CODE><A HREF="../../../../../../org/apache/tuscany/sca/core/scope/ScopeContainer.html" title="interface in org.apache.tuscany.sca.core.scope">ScopeContainer</A>&lt;<A HREF="../../../../../../org/apache/tuscany/sca/core/scope/AbstractScopeContainer.html" title="type parameter in AbstractScopeContainer">KEY</A>&gt;</CODE></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>
+public 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/AbstractScopeContainer.html" title="type parameter in AbstractScopeContainer">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><B>Description copied from interface: <CODE><A HREF="../../../../../../org/apache/tuscany/sca/core/scope/ScopeContainer.html#registerWrapper(org.apache.tuscany.sca.core.context.InstanceWrapper, KEY)">ScopeContainer</A></CODE></B></DD>
+<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>
+<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../org/apache/tuscany/sca/core/scope/ScopeContainer.html#registerWrapper(org.apache.tuscany.sca.core.context.InstanceWrapper, KEY)">registerWrapper</A></CODE> in interface <CODE><A HREF="../../../../../../org/apache/tuscany/sca/core/scope/ScopeContainer.html" title="interface in org.apache.tuscany.sca.core.scope">ScopeContainer</A>&lt;<A HREF="../../../../../../org/apache/tuscany/sca/core/scope/AbstractScopeContainer.html" title="type parameter in AbstractScopeContainer">KEY</A>&gt;</CODE></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="onEvent(org.apache.tuscany.sca.event.Event)"><!-- --></A><H3>
+onEvent</H3>
+<PRE>
+public void <B>onEvent</B>(<A HREF="../../../../../../org/apache/tuscany/sca/event/Event.html" title="interface in org.apache.tuscany.sca.event">Event</A>&nbsp;event)</PRE>
+<DL>
+<DD><B>Description copied from interface: <CODE><A HREF="../../../../../../org/apache/tuscany/sca/event/RuntimeEventListener.html#onEvent(org.apache.tuscany.sca.event.Event)">RuntimeEventListener</A></CODE></B></DD>
+<DD>Accepts and event and acts on it
+<P>
+<DD><DL>
+<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../org/apache/tuscany/sca/event/RuntimeEventListener.html#onEvent(org.apache.tuscany.sca.event.Event)">onEvent</A></CODE> in interface <CODE><A HREF="../../../../../../org/apache/tuscany/sca/event/RuntimeEventListener.html" title="interface in org.apache.tuscany.sca.event">RuntimeEventListener</A></CODE></DL>
+</DD>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>event</CODE> - The event to act on</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="isEagerInit()"><!-- --></A><H3>
+isEagerInit</H3>
+<PRE>
+protected boolean <B>isEagerInit</B>()</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+<DD><DL>
+</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>
+public 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/AbstractScopeContainer.html" title="type parameter in AbstractScopeContainer">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><B>Description copied from interface: <CODE><A HREF="../../../../../../org/apache/tuscany/sca/core/scope/ScopeContainer.html#returnWrapper(org.apache.tuscany.sca.core.context.InstanceWrapper, KEY)">ScopeContainer</A></CODE></B></DD>
+<DD>Return a wrapper after use (for example, after invoking the instance).
+<P>
+<DD><DL>
+<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../org/apache/tuscany/sca/core/scope/ScopeContainer.html#returnWrapper(org.apache.tuscany.sca.core.context.InstanceWrapper, KEY)">returnWrapper</A></CODE> in interface <CODE><A HREF="../../../../../../org/apache/tuscany/sca/core/scope/ScopeContainer.html" title="interface in org.apache.tuscany.sca.core.scope">ScopeContainer</A>&lt;<A HREF="../../../../../../org/apache/tuscany/sca/core/scope/AbstractScopeContainer.html" title="type parameter in AbstractScopeContainer">KEY</A>&gt;</CODE></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>
+public void <B>remove</B>(<A HREF="../../../../../../org/apache/tuscany/sca/core/scope/AbstractScopeContainer.html" title="type parameter in AbstractScopeContainer">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>Default implementation of remove which does nothing
+<P>
+<DD><DL>
+<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../org/apache/tuscany/sca/core/scope/ScopeContainer.html#remove(KEY)">remove</A></CODE> in interface <CODE><A HREF="../../../../../../org/apache/tuscany/sca/core/scope/ScopeContainer.html" title="interface in org.apache.tuscany.sca.core.scope">ScopeContainer</A>&lt;<A HREF="../../../../../../org/apache/tuscany/sca/core/scope/AbstractScopeContainer.html" title="type parameter in AbstractScopeContainer">KEY</A>&gt;</CODE></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="start()"><!-- --></A><H3>
+start</H3>
+<PRE>
+public void <B>start</B>()</PRE>
+<DL>
+<DD><B>Description copied from interface: <CODE><A HREF="../../../../../../org/apache/tuscany/sca/core/scope/ScopeContainer.html#start()">ScopeContainer</A></CODE></B></DD>
+<DD>Starts the Lifecycle.
+<P>
+<DD><DL>
+<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../org/apache/tuscany/sca/core/scope/ScopeContainer.html#start()">start</A></CODE> in interface <CODE><A HREF="../../../../../../org/apache/tuscany/sca/core/scope/ScopeContainer.html" title="interface in org.apache.tuscany.sca.core.scope">ScopeContainer</A>&lt;<A HREF="../../../../../../org/apache/tuscany/sca/core/scope/AbstractScopeContainer.html" title="type parameter in AbstractScopeContainer">KEY</A>&gt;</CODE></DL>
+</DD>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="startContext(java.lang.Object)"><!-- --></A><A NAME="startContext(KEY)"><!-- --></A><H3>
+startContext</H3>
+<PRE>
+public void <B>startContext</B>(<A HREF="../../../../../../org/apache/tuscany/sca/core/scope/AbstractScopeContainer.html" title="type parameter in AbstractScopeContainer">KEY</A>&nbsp;contextId)</PRE>
+<DL>
+<DD><B>Description copied from interface: <CODE><A HREF="../../../../../../org/apache/tuscany/sca/core/scope/ScopeContainer.html#startContext(KEY)">ScopeContainer</A></CODE></B></DD>
+<DD>Start a new context with the supplied ID.
+<P>
+<DD><DL>
+<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../org/apache/tuscany/sca/core/scope/ScopeContainer.html#startContext(KEY)">startContext</A></CODE> in interface <CODE><A HREF="../../../../../../org/apache/tuscany/sca/core/scope/ScopeContainer.html" title="interface in org.apache.tuscany.sca.core.scope">ScopeContainer</A>&lt;<A HREF="../../../../../../org/apache/tuscany/sca/core/scope/AbstractScopeContainer.html" title="type parameter in AbstractScopeContainer">KEY</A>&gt;</CODE></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="stop()"><!-- --></A><H3>
+stop</H3>
+<PRE>
+public void <B>stop</B>()</PRE>
+<DL>
+<DD><B>Description copied from interface: <CODE><A HREF="../../../../../../org/apache/tuscany/sca/core/scope/ScopeContainer.html#stop()">ScopeContainer</A></CODE></B></DD>
+<DD>Stops the Lifecycle.
+<P>
+<DD><DL>
+<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../org/apache/tuscany/sca/core/scope/ScopeContainer.html#stop()">stop</A></CODE> in interface <CODE><A HREF="../../../../../../org/apache/tuscany/sca/core/scope/ScopeContainer.html" title="interface in org.apache.tuscany.sca.core.scope">ScopeContainer</A>&lt;<A HREF="../../../../../../org/apache/tuscany/sca/core/scope/AbstractScopeContainer.html" title="type parameter in AbstractScopeContainer">KEY</A>&gt;</CODE></DL>
+</DD>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="stopContext(java.lang.Object)"><!-- --></A><A NAME="stopContext(KEY)"><!-- --></A><H3>
+stopContext</H3>
+<PRE>
+public void <B>stopContext</B>(<A HREF="../../../../../../org/apache/tuscany/sca/core/scope/AbstractScopeContainer.html" title="type parameter in AbstractScopeContainer">KEY</A>&nbsp;contextId)</PRE>
+<DL>
+<DD><B>Description copied from interface: <CODE><A HREF="../../../../../../org/apache/tuscany/sca/core/scope/ScopeContainer.html#stopContext(KEY)">ScopeContainer</A></CODE></B></DD>
+<DD>Stop the context with the supplied ID.
+<P>
+<DD><DL>
+<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../org/apache/tuscany/sca/core/scope/ScopeContainer.html#stopContext(KEY)">stopContext</A></CODE> in interface <CODE><A HREF="../../../../../../org/apache/tuscany/sca/core/scope/ScopeContainer.html" title="interface in org.apache.tuscany.sca.core.scope">ScopeContainer</A>&lt;<A HREF="../../../../../../org/apache/tuscany/sca/core/scope/AbstractScopeContainer.html" title="type parameter in AbstractScopeContainer">KEY</A>&gt;</CODE></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="toString()"><!-- --></A><H3>
+toString</H3>
+<PRE>
+public java.lang.String <B>toString</B>()</PRE>
+<DL>
+<DD><DL>
+<DT><B>Overrides:</B><DD><CODE>toString</CODE> in class <CODE>java.lang.Object</CODE></DL>
+</DD>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getComponent()"><!-- --></A><H3>
+getComponent</H3>
+<PRE>
+public <A HREF="../../../../../../org/apache/tuscany/sca/runtime/RuntimeComponent.html" title="interface in org.apache.tuscany.sca.runtime">RuntimeComponent</A> <B>getComponent</B>()</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="setComponent(org.apache.tuscany.sca.runtime.RuntimeComponent)"><!-- --></A><H3>
+setComponent</H3>
+<PRE>
+public void <B>setComponent</B>(<A HREF="../../../../../../org/apache/tuscany/sca/runtime/RuntimeComponent.html" title="interface in org.apache.tuscany.sca.runtime">RuntimeComponent</A>&nbsp;component)</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getLifecycleState()"><!-- --></A><H3>
+getLifecycleState</H3>
+<PRE>
+public int <B>getLifecycleState</B>()</PRE>
+<DL>
+<DD><B>Description copied from interface: <CODE><A HREF="../../../../../../org/apache/tuscany/sca/core/scope/ScopeContainer.html#getLifecycleState()">ScopeContainer</A></CODE></B></DD>
+<DD>Returns the lifecycle state
+<P>
+<DD><DL>
+<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../org/apache/tuscany/sca/core/scope/ScopeContainer.html#getLifecycleState()">getLifecycleState</A></CODE> in interface <CODE><A HREF="../../../../../../org/apache/tuscany/sca/core/scope/ScopeContainer.html" title="interface in org.apache.tuscany.sca.core.scope">ScopeContainer</A>&lt;<A HREF="../../../../../../org/apache/tuscany/sca/core/scope/AbstractScopeContainer.html" title="type parameter in AbstractScopeContainer">KEY</A>&gt;</CODE></DL>
+</DD>
+<DD><DL>
+<DT><B>See Also:</B><DD><A HREF="../../../../../../org/apache/tuscany/sca/core/scope/ScopeContainer.html#UNINITIALIZED"><CODE>ScopeContainer.UNINITIALIZED</CODE></A>,
+<A HREF="../../../../../../org/apache/tuscany/sca/core/scope/ScopeContainer.html#INITIALIZING"><CODE>ScopeContainer.INITIALIZING</CODE></A>,
+<A HREF="../../../../../../org/apache/tuscany/sca/core/scope/ScopeContainer.html#INITIALIZED"><CODE>ScopeContainer.INITIALIZED</CODE></A>,
+<A HREF="../../../../../../org/apache/tuscany/sca/core/scope/ScopeContainer.html#RUNNING"><CODE>ScopeContainer.RUNNING</CODE></A>,
+<A HREF="../../../../../../org/apache/tuscany/sca/core/scope/ScopeContainer.html#STOPPING"><CODE>ScopeContainer.STOPPING</CODE></A>,
+<A HREF="../../../../../../org/apache/tuscany/sca/core/scope/ScopeContainer.html#STOPPED"><CODE>ScopeContainer.STOPPED</CODE></A></DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="setLifecycleState(int)"><!-- --></A><H3>
+setLifecycleState</H3>
+<PRE>
+protected void <B>setLifecycleState</B>(int&nbsp;lifecycleState)</PRE>
+<DL>
+<DD>Set the current state of the Lifecycle.
+<P>
+<DD><DL>
+</DL>
+</DD>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>lifecycleState</CODE> - the new state</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;PREV CLASS&nbsp;
+&nbsp;<A HREF="../../../../../../org/apache/tuscany/sca/core/scope/CompositeScopeContainer.html" title="class 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/AbstractScopeContainer.html" target="_top"><B>FRAMES</B></A> &nbsp;
+&nbsp;<A HREF="AbstractScopeContainer.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;<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>
+
+</BODY>
+</HTML>