public class ManifoldCFJettyRunner extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
_rcsid |
static String |
apiServiceWarPathProperty |
static String |
authorityServiceWarPathProperty |
static String |
crawlerUIWarPathProperty |
static String |
jettyConfigFileProperty |
protected org.eclipse.jetty.server.Server |
server |
static String |
useJettyParentClassLoaderProperty |
| Constructor and Description |
|---|
ManifoldCFJettyRunner(File configFile,
String crawlerWarPath,
String authorityServiceWarPath,
String apiWarPath,
boolean useParentLoader) |
ManifoldCFJettyRunner(int port,
String crawlerWarPath,
String authorityServiceWarPath,
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(String crawlerWarPath,
String authorityServiceWarPath,
String apiWarPath,
boolean useParentLoader) |
static void |
main(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 String _rcsid
public static final String crawlerUIWarPathProperty
public static final String authorityServiceWarPathProperty
public static final String apiServiceWarPathProperty
public static final String useJettyParentClassLoaderProperty
public static final String jettyConfigFileProperty
protected org.eclipse.jetty.server.Server server
public ManifoldCFJettyRunner(File configFile, String crawlerWarPath, String authorityServiceWarPath, String apiWarPath, boolean useParentLoader) throws Exception
Exceptionprotected void initializeServer(String crawlerWarPath, String authorityServiceWarPath, String apiWarPath, boolean useParentLoader)
public void start()
throws ManifoldCFException
ManifoldCFExceptionpublic void stop()
throws ManifoldCFException
ManifoldCFExceptionpublic int getLocalPort()
throws ManifoldCFException
ManifoldCFExceptionpublic static void runAgents(IThreadContext tc) throws ManifoldCFException
ManifoldCFExceptionpublic static void main(String[] args)