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
Exception
protected void initializeServer(String crawlerWarPath, String authorityServiceWarPath, 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(String[] args)