Class WildflyExecutableServerImpl
java.lang.Object
ru.cg.webbpm.studio.subsystems.deploy.appserver.impl.WildflyExecutableServerImpl
- All Implemented Interfaces:
org.springframework.beans.factory.DisposableBean
,ExecutableServer
,ServerStateListener
@Component
public class WildflyExecutableServerImpl
extends Object
implements ExecutableServer, ServerStateListener, org.springframework.beans.factory.DisposableBean
- Author:
- Abdulin
-
Constructor Summary
ConstructorsConstructorDescriptionWildflyExecutableServerImpl
(WebbpmPropertiesManager propsMgr, List<LocalServerExtension> localServerExtensions, Alerts alerts, Application application) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addServerStateListener
(ServerStateListener serverStateListener) protected org.jboss.as.controller.client.ModelControllerClient
void
deployStaticContent
(String context, Path staticContentDirectory) void
destroy()
getHost()
getPort()
getUrl()
boolean
void
void
void
start()
void
stop()
void
void
undeployStaticContent
(String context)
-
Constructor Details
-
WildflyExecutableServerImpl
@Autowired public WildflyExecutableServerImpl(WebbpmPropertiesManager propsMgr, List<LocalServerExtension> localServerExtensions, Alerts alerts, Application application)
-
-
Method Details
-
start
- Specified by:
start
in interfaceExecutableServer
- Throws:
ServerOperationException
-
getHost
- Specified by:
getHost
in interfaceExecutableServer
-
getUrl
- Specified by:
getUrl
in interfaceExecutableServer
-
getApplicationUrl
- Specified by:
getApplicationUrl
in interfaceExecutableServer
-
getDeploymentsDirectory
- Specified by:
getDeploymentsDirectory
in interfaceExecutableServer
-
isStarted
public boolean isStarted()- Specified by:
isStarted
in interfaceExecutableServer
-
serverFullyStarted
public void serverFullyStarted()- Specified by:
serverFullyStarted
in interfaceServerStateListener
-
serverStopped
public void serverStopped()- Specified by:
serverStopped
in interfaceServerStateListener
-
deploy
- Specified by:
deploy
in interfaceExecutableServer
- Throws:
ServerOperationException
-
undeploy
- Specified by:
undeploy
in interfaceExecutableServer
- Throws:
ServerOperationException
-
deployStaticContent
public void deployStaticContent(String context, Path staticContentDirectory) throws ServerOperationException - Specified by:
deployStaticContent
in interfaceExecutableServer
- Throws:
ServerOperationException
-
undeployStaticContent
- Specified by:
undeployStaticContent
in interfaceExecutableServer
-
addServerStateListener
- Specified by:
addServerStateListener
in interfaceExecutableServer
-
stop
public void stop()- Specified by:
stop
in interfaceExecutableServer
-
getPort
- Specified by:
getPort
in interfaceExecutableServer
-
destroy
public void destroy()- Specified by:
destroy
in interfaceorg.springframework.beans.factory.DisposableBean
-
createClient
protected org.jboss.as.controller.client.ModelControllerClient createClient() throws UnknownHostException- Throws:
UnknownHostException
-