diff options
author | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2010-07-08 06:18:58 +0000 |
---|---|---|
committer | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2010-07-08 06:18:58 +0000 |
commit | f6a51224cc350c7d3b42b15051a9c074cce48b5d (patch) | |
tree | a64d43054bf9b3cf6f18980ada104c4acd32513e | |
parent | f2ddcfa204d9afb7903e89b96d2f94430833b49c (diff) |
Add a public getNodeFactory() method to WebAppHelper to allow a servlet to get the NodeFactory and create nodes bound to the Webapp's environment.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@961583 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | sca-java-2.x/trunk/modules/host-webapp/src/main/java/org/apache/tuscany/sca/host/webapp/WebAppHelper.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sca-java-2.x/trunk/modules/host-webapp/src/main/java/org/apache/tuscany/sca/host/webapp/WebAppHelper.java b/sca-java-2.x/trunk/modules/host-webapp/src/main/java/org/apache/tuscany/sca/host/webapp/WebAppHelper.java index d7569eb91e..41ae426272 100644 --- a/sca-java-2.x/trunk/modules/host-webapp/src/main/java/org/apache/tuscany/sca/host/webapp/WebAppHelper.java +++ b/sca-java-2.x/trunk/modules/host-webapp/src/main/java/org/apache/tuscany/sca/host/webapp/WebAppHelper.java @@ -223,4 +223,8 @@ public class WebAppHelper { servletContext.setAttribute(WebAppHelper.SCA_NODE_ATTRIBUTE, null); } } + + public static NodeFactory getNodeFactory() { + return factory; + } } |