|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.intel.cosbench.tomcat.osgi.Activator
public class Activator
The bundle activator for tomcat.
Constructor Summary | |
---|---|
Activator()
|
Method Summary | |
---|---|
void |
start(org.osgi.framework.BundleContext context)
the entry point to start up one bundle. |
void |
stop(org.osgi.framework.BundleContext context)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Activator()
Method Detail |
---|
public void start(org.osgi.framework.BundleContext context) throws java.lang.Exception
This method will find configuration file following below order: 1. through java command line option "-Dcosbench.tomcat.config", 2. "tomcat-server.xml" in current folder, 3. "tomcat-server.xml" in conf/ folder, 4. predefined default configuration file: - on unix like environment, it's "/etc/cosbench/tomcat-server.xml" - on windows environment, it's "c:\\tomcat-server.xml"
start
in interface org.osgi.framework.BundleActivator
java.lang.Exception
BundleActivator.start(org.osgi.framework.BundleContext)
public void stop(org.osgi.framework.BundleContext context) throws java.lang.Exception
stop
in interface org.osgi.framework.BundleActivator
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |