Class ManifoldCFCombinedJettyRunner
- java.lang.Object
-
- org.apache.manifoldcf.jettyrunner.ManifoldCFCombinedJettyRunner
-
public class ManifoldCFCombinedJettyRunner extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String_rcsidstatic java.lang.StringcombinedWarPathPropertystatic java.lang.StringjettyConfigFilePropertyprotected org.eclipse.jetty.server.Serverserver
-
Constructor Summary
Constructors Constructor Description ManifoldCFCombinedJettyRunner(int port, java.lang.String combinedWarPath)ManifoldCFCombinedJettyRunner(java.io.File configFile, java.lang.String combinedWarPath)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetLocalPort()Returns the Local Port of the first Connector found for the jetty Server.protected voidinitializeServer(java.lang.String combinedWarPath)static voidmain(java.lang.String[] args)A main class that starts jetty+mcfvoidstart()voidstop()
-
-
-
Field Detail
-
_rcsid
public static final java.lang.String _rcsid
- See Also:
- Constant Field Values
-
combinedWarPathProperty
public static final java.lang.String combinedWarPathProperty
- See Also:
- Constant Field Values
-
jettyConfigFileProperty
public static final java.lang.String jettyConfigFileProperty
- See Also:
- Constant Field Values
-
server
protected org.eclipse.jetty.server.Server server
-
-
Constructor Detail
-
ManifoldCFCombinedJettyRunner
public ManifoldCFCombinedJettyRunner(java.io.File configFile, java.lang.String combinedWarPath) throws java.lang.Exception- Throws:
java.lang.Exception
-
ManifoldCFCombinedJettyRunner
public ManifoldCFCombinedJettyRunner(int port, java.lang.String combinedWarPath)
-
-
Method Detail
-
initializeServer
protected void initializeServer(java.lang.String combinedWarPath)
-
start
public void start() throws ManifoldCFException- Throws:
ManifoldCFException
-
stop
public void stop() throws ManifoldCFException- Throws:
ManifoldCFException
-
getLocalPort
public int getLocalPort() throws ManifoldCFExceptionReturns the Local Port of the first Connector found for the jetty Server.- Returns:
- the port number.
- Throws:
ManifoldCFException
-
main
public static void main(java.lang.String[] args)
A main class that starts jetty+mcf
-
-