From cd911a1ce5bb8abf2a6c796e32fcf61ef0c91fbc Mon Sep 17 00:00:00 2001 From: lresende Date: Sat, 21 Nov 2009 07:41:39 +0000 Subject: Moving site branches git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@882843 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/tuscany/core/context/Context.html | 276 +++++++++++++++++++++ 1 file changed, 276 insertions(+) create mode 100644 site/branches/site-20060730-mvnbased/src/site/resources/javadoc/tuscany-core/org/apache/tuscany/core/context/Context.html (limited to 'site/branches/site-20060730-mvnbased/src/site/resources/javadoc/tuscany-core/org/apache/tuscany/core/context/Context.html') diff --git a/site/branches/site-20060730-mvnbased/src/site/resources/javadoc/tuscany-core/org/apache/tuscany/core/context/Context.html b/site/branches/site-20060730-mvnbased/src/site/resources/javadoc/tuscany-core/org/apache/tuscany/core/context/Context.html new file mode 100644 index 0000000000..0481a09573 --- /dev/null +++ b/site/branches/site-20060730-mvnbased/src/site/resources/javadoc/tuscany-core/org/apache/tuscany/core/context/Context.html @@ -0,0 +1,276 @@ + + + + + + + +Context (Tuscany Core incubating-M1 API) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Tuscany Core +
+ + + +
+ +

+ +org.apache.tuscany.core.context +
+Interface Context

+
+
All Superinterfaces:
EventPublisher, Lifecycle
+
+
+
All Known Subinterfaces:
AtomicContext, AutowireContext, CompositeContext, EntryPointContext, ExternalServiceContext, RuntimeContext, ScopeAwareContext, SystemCompositeContext
+
+
+
All Known Implementing Classes:
AbstractCompositeContext, AbstractContext, CompositeContextImpl, EntryPointContextImpl, ExternalServiceContextImpl, RuntimeContextImpl, SystemAtomicContext, SystemCompositeContextImpl, SystemEntryPointContext, SystemExternalServiceContext
+
+
+
+
public interface Context
extends EventPublisher, Lifecycle
+ + +

+An entity that provides an execution context for a runtime artifact or artifacts. A Context may + be a composite, managing child contexts or it may be an atomic, i.e. leaf, context. +

+ +

+

+
Version:
+
$Rev: 396520 $ $Date: 2006-04-24 07:38:07 -0400 (Mon, 24 Apr 2006) $
+
+
+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from interface org.apache.tuscany.core.context.Lifecycle
CONFIG_ERROR, ERROR, INITIALIZED, INITIALIZING, RUNNING, STARTED, STOPPED, STOPPING, UNINITIALIZED
+  + + + + + + + + + + + +
+Method Summary
+ java.lang.ObjectgetInstance(QualifiedName qName) + +
+          Returns the instance associated with the requested name, which may be in a atomic or composite form.
+ + + + + + + +
Methods inherited from interface org.apache.tuscany.core.context.EventPublisher
addListener, addListener, publish, removeListener
+ + + + + + + +
Methods inherited from interface org.apache.tuscany.core.context.Lifecycle
getLifecycleState, getName, setName, start, stop
+  +

+ + + + + + + + +
+Method Detail
+ +

+getInstance

+
+java.lang.Object getInstance(QualifiedName qName)
+                             throws TargetException
+
+
Returns the instance associated with the requested name, which may be in a atomic or composite form. Atomic (i.e. + leaf) contexts will return an instance associated with the service name part of the compound name, which may be + null. +

+ Composite contexts will return an instance (likely a proxy) of a contained entry point context. In this case, the + port name on the qualified name will correspond to the composite context name and the part name will be used to + retrieve the contained entry point context. The latter may be null. If the contained context is not an entry + point context, an exception will be thrown. +

+

+
+
+
+
Parameters:
qName - a qualified name of the requested instance +
Returns:
the implementation instance or a proxy to it +
Throws: +
TargetException - if an error occurs retrieving the instance or the requested component is not an entry + point.
See Also:
CompositeContext, +EntryPoint
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Tuscany Core +
+ + + +
+- + + -- cgit v1.2.3