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
_rcsid
static java.lang.String
combinedWarPathProperty
static java.lang.String
jettyConfigFileProperty
protected org.eclipse.jetty.server.Server
server
-
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 int
getLocalPort()
Returns the Local Port of the first Connector found for the jetty Server.protected void
initializeServer(java.lang.String combinedWarPath)
static void
main(java.lang.String[] args)
A main class that starts jetty+mcfvoid
start()
void
stop()
-
-
-
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 ManifoldCFException
Returns 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
-
-