public class ManifoldCFJettyRunner
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
_rcsid |
static java.lang.String |
apiServiceWarPathProperty |
static java.lang.String |
authorityServiceWarPathProperty |
static java.lang.String |
crawlerUIWarPathProperty |
static java.lang.String |
jettyConfigFileProperty |
protected org.eclipse.jetty.server.Server |
server |
static java.lang.String |
useJettyParentClassLoaderProperty |
Constructor and Description |
---|
ManifoldCFJettyRunner(java.io.File configFile,
java.lang.String crawlerWarPath,
java.lang.String authorityServiceWarPath,
java.lang.String apiWarPath,
boolean useParentLoader) |
ManifoldCFJettyRunner(int port,
java.lang.String crawlerWarPath,
java.lang.String authorityServiceWarPath,
java.lang.String apiWarPath,
boolean useParentLoader) |
Modifier and Type | Method and Description |
---|---|
int |
getLocalPort()
Returns the Local Port of the first Connector found for the jetty Server.
|
protected void |
initializeServer(java.lang.String crawlerWarPath,
java.lang.String authorityServiceWarPath,
java.lang.String apiWarPath,
boolean useParentLoader) |
static void |
main(java.lang.String[] args)
A main class that starts jetty+mcf
|
static void |
runAgents(IThreadContext tc)
Run the agents process.
|
void |
start() |
void |
stop() |
public static final java.lang.String _rcsid
public static final java.lang.String crawlerUIWarPathProperty
public static final java.lang.String authorityServiceWarPathProperty
public static final java.lang.String apiServiceWarPathProperty
public static final java.lang.String useJettyParentClassLoaderProperty
public static final java.lang.String jettyConfigFileProperty
protected org.eclipse.jetty.server.Server server
public ManifoldCFJettyRunner(java.io.File configFile, java.lang.String crawlerWarPath, java.lang.String authorityServiceWarPath, java.lang.String apiWarPath, boolean useParentLoader) throws java.lang.Exception
java.lang.Exception
public ManifoldCFJettyRunner(int port, java.lang.String crawlerWarPath, java.lang.String authorityServiceWarPath, java.lang.String apiWarPath, boolean useParentLoader)
protected void initializeServer(java.lang.String crawlerWarPath, java.lang.String authorityServiceWarPath, java.lang.String apiWarPath, boolean useParentLoader)
public void start() throws ManifoldCFException
ManifoldCFException
public void stop() throws ManifoldCFException
ManifoldCFException
public int getLocalPort() throws ManifoldCFException
ManifoldCFException
public static void runAgents(IThreadContext tc) throws ManifoldCFException
ManifoldCFException
public static void main(java.lang.String[] args)