Interface ExecutableServer
- All Known Implementing Classes:
WildflyExecutableServerImpl
public interface ExecutableServer
- Author:
- Abdulin
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addServerStateListener
(ServerStateListener serverStateListener) void
deployStaticContent
(String context, Path staticContentDirectory) getHost()
getPort()
getUrl()
boolean
void
start()
void
stop()
void
void
undeployStaticContent
(String context)
-
Method Details
-
start
- Throws:
ServerOperationException
-
deploy
- Throws:
ServerOperationException
-
undeploy
- Throws:
ServerOperationException
-
isStarted
boolean isStarted() -
stop
void stop() -
getPort
Integer getPort() -
getHost
String getHost() -
getUrl
String getUrl() -
getApplicationUrl
-
getDeploymentsDirectory
Path getDeploymentsDirectory() -
deployStaticContent
void deployStaticContent(String context, Path staticContentDirectory) throws ServerOperationException - Throws:
ServerOperationException
-
undeployStaticContent
-
addServerStateListener
-