Codota Logo
ManagementClient.readRootNode
Code IndexAdd Codota to your IDE (free)

How to use
readRootNode
method
in
org.jboss.as.arquillian.container.ManagementClient

Best Java code snippets using org.jboss.as.arquillian.container.ManagementClient.readRootNode (Showing top 3 results out of 315)

  • Common ways to obtain ManagementClient
private void myMethod () {
ManagementClient m =
  • Codota IconInstance instance;instance.get()
  • Codota IconInstanceProducer instanceProducer;instanceProducer.get()
  • Smart code suggestions by Codota
}
origin: org.jboss.as/jboss-as-arquillian-common

public URI getRemoteEjbURL() {
  if (ejbUri == null) {
    if (rootNode == null) {
      try {
        readRootNode();
      } catch (Exception e) {
        throw new RuntimeException(e);
      }
    }
    String socketBinding = rootNode.get("subsystem").get("remoting").get("connector").get("remoting-connector").get("socket-binding").asString();
    ejbUri = getBinding("remote", socketBinding);
  }
  return ejbUri;
}
//-------------------------------------------------------------------------------------||
origin: org.jboss.as/jboss-as-arquillian-common

/**
 * @return The base URI or the web susbsystem. Usually http://localhost:8080
 */
public URI getWebUri() {
  if (webUri == null) {
    try {
      if (rootNode == null) {
        readRootNode();
      }
    } catch (Exception e) {
      throw new RuntimeException(e);
    }
    ModelNode socketBinding = rootNode.get("subsystem").get("web").get("connector").get("http").get("socket-binding");
    if(!socketBinding.isDefined()) {
      try {
        webUri = new URI("http://localhost:8080");
      } catch (URISyntaxException e) {
        throw new RuntimeException(e);
      }
    } else {
      webUri = getBinding("http", socketBinding.asString());
    }
  }
  return webUri;
}
origin: org.wildfly/wildfly-arquillian-common

readRootNode();
org.jboss.as.arquillian.containerManagementClientreadRootNode

Popular methods of ManagementClient

  • getControllerClient
    Returns the client used to connect to the server.
  • <init>
  • close
  • checkSuccessful
  • defined
  • executeForResult
  • extractEnterpriseArchiveContexts
    Expects the deploymentNode to bit a list of addresses which contain a result of the subsystem model.
  • extractWebArchiveContexts
  • getConnection
  • getProtocolMetaData
    Gets the meta-data.
  • getRemoteEjbURL
    Returns the URI for EJB's.
  • getRemoteJMXURL
  • getRemoteEjbURL,
  • getRemoteJMXURL,
  • getWebUri,
  • isEnterpriseArchive,
  • isWebArchive,
  • toContextName,
  • createDeploymentAddress,
  • getBinding,
  • isServerInRunningState,
  • readResource

Popular in Java

  • Parsing JSON documents to java classes using gson
  • getApplicationContext (Context)
  • startActivity (Activity)
  • scheduleAtFixedRate (Timer)
    Schedules the specified task for repeated fixed-rate execution, beginning after the specified delay.
  • BorderLayout (java.awt)
    A border layout lays out a container, arranging and resizing its components to fit in five regions:
  • Graphics2D (java.awt)
    This Graphics2D class extends the Graphics class to provide more sophisticated control overgraphics
  • InputStreamReader (java.io)
    An InputStreamReader is a bridge from byte streams to character streams: It reads bytes and decodes
  • Runnable (java.lang)
    Represents a command that can be executed. Often used to run code in a different Thread.
  • Collection (java.util)
    Collection is the root of the collection hierarchy. It defines operations on data collections and t
  • HashMap (java.util)
    HashMap is an implementation of Map. All optional operations are supported.All elements are permitte
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now