public class JettyWebappServerAgent extends AbstractAgent
JettyHttpConnector
.Modifier and Type | Field and Description |
---|---|
static String |
NAME |
protected SortedSet<String> |
webapps |
muleContext, name
PHASE_NAME
PHASE_NAME
PHASE_NAME
PHASE_NAME
Modifier | Constructor and Description |
---|---|
|
JettyWebappServerAgent() |
protected |
JettyWebappServerAgent(String name) |
Modifier and Type | Method and Description |
---|---|
void |
dispose()
A lifecycle method where implementor should free up any resources.
|
String |
getDescription()
A description of the agent that gets displayed in the splash
screen when the Mule Context starts up.
|
void |
initialise()
Method used to perform any initialisation work.
|
void |
onJettyConnectorStarted(JettyHttpConnector jetty)
A callback for the connector, as it has a 'lazy-start' policy.
|
void |
start() |
void |
stop() |
getName, setMuleContext, setName, unregisterMeQuietly
public static final String NAME
public JettyWebappServerAgent()
protected JettyWebappServerAgent(String name)
public void dispose()
Disposable
public void initialise() throws InitialisationException
Initialisable
InitialisationException
should be thrown,
causing the Mule instance to shutdown. If the error is recoverable, say by
retrying to connect, a RecoverableException
should be thrown.
There is no guarantee that by throwing a Recoverable exception that the Mule
instance will not shut down.InitialisationException
- if a fatal error occurs causing the Mule instance to shutdownRecoverableException
- if an error occurs that can be recovered frompublic void start() throws MuleException
MuleException
public void stop() throws MuleException
MuleException
public String getDescription()
Agent
getDescription
in interface Agent
getDescription
in class AbstractAgent
public void onJettyConnectorStarted(JettyHttpConnector jetty)
Copyright © 2003–2015 MuleSoft, Inc.. All rights reserved.