Add a global default domain uri. A temp approach for now to get the basic tomcat shared domain working distributed

git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@897194 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
antelder 2010-01-08 13:10:09 +00:00
parent 30fba2ec92
commit 6d887a14cd

View file

@ -55,6 +55,8 @@ public class TuscanyLifecycleListener implements LifecycleListener {
static final String TUSCANY_SHARED_PROP = "org.apache.tuscany.sca.tomcat.shared";
private static String domainURI = "tuscany:default";
public TuscanyLifecycleListener() {
running = true;
log.info("Apache Tuscany initilizing");
@ -148,4 +150,12 @@ public class TuscanyLifecycleListener implements LifecycleListener {
}
return null;
}
public void setDomainURI(String domainURI) {
TuscanyLifecycleListener.domainURI = domainURI;
}
public static String getDomainURI() {
return domainURI;
}
}