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:
parent
30fba2ec92
commit
6d887a14cd
1 changed files with 10 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue