org.apache.tuscany.sca.runtime.tomcat
Class TuscanyHost
java.lang.Object
StandardHost
org.apache.tuscany.sca.runtime.tomcat.TuscanyHost
public class TuscanyHost
- extends StandardHost
To use this copy all the Tuscany jars to the Tomcat lib folder and update
the Tomcat conf/server.xml to include className="org.apache.tuscany.sca.runtime.tomcat.TomcatHost"
For example:
Field Summary |
protected static java.util.List<StandardContext> |
scaApps
|
Method Summary |
void |
addChild(Container child)
|
protected void |
initSCAApplication(StandardContext scaApp)
|
protected boolean |
isSCAApp(Container child)
Tests if the child is an SCA application by checking for the presence
of either an sca-contribution.xml file or a sca-deployables folder |
void |
start()
|
void |
stop()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
scaApps
protected static java.util.List<StandardContext> scaApps
TuscanyHost
public TuscanyHost()
start
public void start()
throws LifecycleException
- Throws:
LifecycleException
stop
public void stop()
throws LifecycleException
- Throws:
LifecycleException
addChild
public void addChild(Container child)
isSCAApp
protected boolean isSCAApp(Container child)
throws java.io.IOException
- Tests if the child is an SCA application by checking for the presence
of either an sca-contribution.xml file or a sca-deployables folder
- Throws:
java.io.IOException
initSCAApplication
protected void initSCAApplication(StandardContext scaApp)