Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorslewis2009-02-20 05:40:06 +0000
committerslewis2009-02-20 05:40:06 +0000
commit5401319c29cbb386084907137ac846dd80f36256 (patch)
treeae3e7f11bd1eb0f2bf948ac595aa7f21c235785f /framework/bundles
parentece023daf0ec4c195c444bdf731cf3610f9a1dd8 (diff)
downloadorg.eclipse.ecf-5401319c29cbb386084907137ac846dd80f36256.tar.gz
org.eclipse.ecf-5401319c29cbb386084907137ac846dd80f36256.tar.xz
org.eclipse.ecf-5401319c29cbb386084907137ac846dd80f36256.zip
Added IContainerManager.getContainerFactory
Diffstat (limited to 'framework/bundles')
-rw-r--r--framework/bundles/org.eclipse.ecf/src/org/eclipse/ecf/core/ContainerFactory.java3
-rw-r--r--framework/bundles/org.eclipse.ecf/src/org/eclipse/ecf/core/IContainerManager.java8
2 files changed, 11 insertions, 0 deletions
diff --git a/framework/bundles/org.eclipse.ecf/src/org/eclipse/ecf/core/ContainerFactory.java b/framework/bundles/org.eclipse.ecf/src/org/eclipse/ecf/core/ContainerFactory.java
index a4021b985..e6b0c1899 100644
--- a/framework/bundles/org.eclipse.ecf/src/org/eclipse/ecf/core/ContainerFactory.java
+++ b/framework/bundles/org.eclipse.ecf/src/org/eclipse/ecf/core/ContainerFactory.java
@@ -477,4 +477,7 @@ public class ContainerFactory implements IContainerFactory, IContainerManager {
}
}
+ public IContainerFactory getContainerFactory() {
+ return this;
+ }
} \ No newline at end of file
diff --git a/framework/bundles/org.eclipse.ecf/src/org/eclipse/ecf/core/IContainerManager.java b/framework/bundles/org.eclipse.ecf/src/org/eclipse/ecf/core/IContainerManager.java
index b01c779dd..1bc714555 100644
--- a/framework/bundles/org.eclipse.ecf/src/org/eclipse/ecf/core/IContainerManager.java
+++ b/framework/bundles/org.eclipse.ecf/src/org/eclipse/ecf/core/IContainerManager.java
@@ -20,6 +20,14 @@ import org.eclipse.ecf.core.identity.ID;
public interface IContainerManager {
/**
+ * Get container factory associated with this container manager.
+ * @return IContainerFactory. Will not return <code>null</code>.
+ *
+ * @since 3.0
+ */
+ public IContainerFactory getContainerFactory();
+
+ /**
* Get container for given ID. If <code>containerID</code> is
* <code>, null will be returned. If
* active container with given <code>containerID,</code> is not known to this container manager,

Back to the top