/** * Returns the URI for EJB's. * * @return the resolved EJB URI * * @throws IllegalStateException if this has been {@linkplain #close() closed} */ public URI getRemoteEjbURL() { init(); return ejbUri; }
/** * @return The base URI or the web susbsystem. Usually http://localhost:8080 * * @throws IllegalStateException if this has been {@linkplain #close() closed} */ public URI getWebUri() { init(); return webUri; }
/** * @return The base URI or the web susbsystem. Usually http://localhost:8080 * * @throws IllegalStateException if this has been {@linkplain #close() closed} */ public URI getWebUri() { init(); return webUri; }
/** * Returns the URI for EJB's. * * @return the resolved EJB URI * * @throws IllegalStateException if this has been {@linkplain #close() closed} */ public URI getRemoteEjbURL() { init(); return ejbUri; }
/** * Gets the meta-data. * * @return the meta-data * * @throws IllegalStateException if this has been {@linkplain #close() closed} */ public ProtocolMetaData getProtocolMetaData(String deploymentName) { init(); ProtocolMetaData metaData = new ProtocolMetaData(); metaData.addContext(new JMXContext(getConnection())); if (undertowSubsystemPresent) { URI webURI = getWebUri(); HTTPContext context = new HTTPContext(webURI.getHost(), webURI.getPort()); metaData.addContext(context); try { final ModelNode deploymentNode = readDeploymentNode(deploymentName); if (isWebArchive(deploymentName)) { extractWebArchiveContexts(context, deploymentNode); } else if (isEnterpriseArchive(deploymentName)) { extractEnterpriseArchiveContexts(context, deploymentNode); } } catch (Exception e) { throw new RuntimeException(e); } } return metaData; }
/** * Gets the meta-data. * * @return the meta-data * * @throws IllegalStateException if this has been {@linkplain #close() closed} */ public ProtocolMetaData getProtocolMetaData(String deploymentName) { init(); ProtocolMetaData metaData = new ProtocolMetaData(); metaData.addContext(new JMXContext(getConnection())); if (undertowSubsystemPresent) { URI webURI = getWebUri(); HTTPContext context = new HTTPContext(webURI.getHost(), webURI.getPort()); metaData.addContext(context); try { final ModelNode deploymentNode = readDeploymentNode(deploymentName); if (isWebArchive(deploymentName)) { extractWebArchiveContexts(context, deploymentNode); } else if (isEnterpriseArchive(deploymentName)) { extractEnterpriseArchiveContexts(context, deploymentNode); } } catch (Exception e) { throw new RuntimeException(e); } } return metaData; }