From bdd0a41aed7edf21ec2a65cfa17a86af2ef8c48a Mon Sep 17 00:00:00 2001 From: dims Date: Tue, 17 Jun 2008 00:23:01 +0000 Subject: Move Tuscany from Incubator to top level. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@668359 13f79535-47bb-0310-9956-ffa450edef68 --- .../sca/core/DefaultExtensionPointRegistry.html | 325 +++++++++++++++++++++ 1 file changed, 325 insertions(+) create mode 100644 site/site-publish/doc/javadoc/java-sca-0.9/sca-spi/org/apache/tuscany/sca/core/DefaultExtensionPointRegistry.html (limited to 'site/site-publish/doc/javadoc/java-sca-0.9/sca-spi/org/apache/tuscany/sca/core/DefaultExtensionPointRegistry.html') diff --git a/site/site-publish/doc/javadoc/java-sca-0.9/sca-spi/org/apache/tuscany/sca/core/DefaultExtensionPointRegistry.html b/site/site-publish/doc/javadoc/java-sca-0.9/sca-spi/org/apache/tuscany/sca/core/DefaultExtensionPointRegistry.html new file mode 100644 index 0000000000..1c030fdd2f --- /dev/null +++ b/site/site-publish/doc/javadoc/java-sca-0.9/sca-spi/org/apache/tuscany/sca/core/DefaultExtensionPointRegistry.html @@ -0,0 +1,325 @@ + + + + + + +DefaultExtensionPointRegistry + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.apache.tuscany.sca.core +
+Class DefaultExtensionPointRegistry

+
+java.lang.Object
+  extended by org.apache.tuscany.sca.core.DefaultExtensionPointRegistry
+
+
+
All Implemented Interfaces:
ExtensionPointRegistry
+
+
+
+
public class DefaultExtensionPointRegistry
extends java.lang.Object
implements ExtensionPointRegistry
+ + +

+Default implementation of a registry to hold all the Tuscany core extension + points. As the point of contact for all extension artifacts this registry + allows loaded extensions to find all other parts of the system and + register themselves appropriately. +

+ +

+

+
Version:
+
$Rev: 539359 $ $Date: 2007-05-18 11:06:21 +0100 (Fri, 18 May 2007) $
+
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
DefaultExtensionPointRegistry() + +
+           
+  + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidaddExtensionPoint(java.lang.Object extensionPoint) + +
+          Add an extension point to the registry.
+ + + + + +
+<T> T
+
getExtensionPoint(java.lang.Class<T> extensionPointType) + +
+          Get the extension point by the interface that it implements
+ voidremoveExtensionPoint(java.lang.Object extensionPoint) + +
+          Remove an extension point based on the interface that it implements
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+DefaultExtensionPointRegistry

+
+public DefaultExtensionPointRegistry()
+
+
+ + + + + + + + +
+Method Detail
+ +

+addExtensionPoint

+
+public void addExtensionPoint(java.lang.Object extensionPoint)
+
+
Add an extension point to the registry. This default implementation + stores extensions against the interfaces that they implement. +

+

+
Specified by:
addExtensionPoint in interface ExtensionPointRegistry
+
+
+
Parameters:
extensionPoint - The instance of the extension point
+
+
+
+ +

+getExtensionPoint

+
+public <T> T getExtensionPoint(java.lang.Class<T> extensionPointType)
+
+
Get the extension point by the interface that it implements +

+

+
Specified by:
getExtensionPoint in interface ExtensionPointRegistry
+
+
+
Parameters:
extensionPointType - The lookup key (extension point interface) +
Returns:
The instance of the extension point
+
+
+
+ +

+removeExtensionPoint

+
+public void removeExtensionPoint(java.lang.Object extensionPoint)
+
+
Remove an extension point based on the interface that it implements +

+

+
Specified by:
removeExtensionPoint in interface ExtensionPointRegistry
+
+
+
Parameters:
extensionPoint - The extension point to remove
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + -- cgit v1.2.3