public final class EmbeddedServerReference extends Object implements StandaloneServer, HostController
StandaloneServer; used to encapsulate access to the underlying embedded AS Server instance in a
manner that does not directly link this class. Necessary to avoid ClassCastException when this class is loaded by the
application ClassLoader (or any other hierarchical CL) while the server is loaded by a modular environment.| Modifier and Type | Method and Description |
|---|---|
HostController |
getHostController() |
org.jboss.as.controller.client.ModelControllerClient |
getModelControllerClient() |
StandaloneServer |
getStandaloneServer() |
boolean |
isHostController() |
void |
start() |
void |
stop() |
public void start()
start in interface HostControllerstart in interface StandaloneServerpublic void stop()
stop in interface HostControllerstop in interface StandaloneServerpublic org.jboss.as.controller.client.ModelControllerClient getModelControllerClient()
getModelControllerClient in interface HostControllergetModelControllerClient in interface StandaloneServerpublic StandaloneServer getStandaloneServer()
public HostController getHostController()
getHostController in interface HostControllerpublic boolean isHostController()
Copyright © 2015 JBoss by Red Hat. All rights reserved.