Tabnine Logo
ManagementClient.readRootNode
Code IndexAdd Tabnine 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)

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

  • Reading from database using SQL prepared statement
  • requestLocationUpdates (LocationManager)
  • getSupportFragmentManager (FragmentActivity)
  • getSystemService (Context)
  • File (java.io)
    An "abstract" representation of a file system entity identified by a pathname. The pathname may be a
  • SecureRandom (java.security)
    This class generates cryptographically secure pseudo-random numbers. It is best to invoke SecureRand
  • GregorianCalendar (java.util)
    GregorianCalendar is a concrete subclass of Calendarand provides the standard calendar used by most
  • Hashtable (java.util)
    A plug-in replacement for JDK1.5 java.util.Hashtable. This version is based on org.cliffc.high_scale
  • Random (java.util)
    This class provides methods that return pseudo-random values.It is dangerous to seed Random with the
  • JPanel (javax.swing)
  • Best IntelliJ plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now