protected ModelControllerClient getModelControllerClient() { return getManagementClient().getControllerClient(); }
@Override public void validate() throws ConfigurationException { super.validate(); } }
@Override protected ModelControllerClient getModelControllerClient() { return managementClient.getControllerClient(); } }
@Override public ProtocolMetaData deploy(Archive<?> archive) throws DeploymentException { String runtimeName = archiveDeployer.get().deploy(archive); return getManagementClient().getProtocolMetaData(runtimeName); }
@Override public final void stop() throws LifecycleException { try { stopInternal(null); } finally { safeCloseClient(); } }
/** * Removes an archive from the running container. * <p> * All exceptions are caught and logged as a warning. {@link Error Errors} will still be thrown however. * </p> * * @param runtimeName the runtime name for the deployment */ public void undeploy(String runtimeName) { undeploy(runtimeName, true); }
/** * @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 client used to connect to the server. * * @return the client * * @throws IllegalStateException if this has been {@linkplain #close() closed} */ public ModelControllerClient getControllerClient() { checkState(); return client; }
protected ModelControllerClient getModelControllerClient() { return getManagementClient().getControllerClient(); }
@Override public ProtocolMetaData deploy(Archive<?> archive) throws DeploymentException { String runtimeName = archiveDeployer.get().deploy(archive); return getManagementClient().getProtocolMetaData(runtimeName); }
@Override public void validate() throws ConfigurationException { super.validate(); } }
@Override protected ModelControllerClient getModelControllerClient() { return managementClient.getControllerClient(); } }
@Override public final void stop() throws LifecycleException { try { stopInternal(); } finally { safeCloseClient(); } }
/** * 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; }
protected ModelControllerClient getModelControllerClient() { return getManagementClient().getControllerClient(); }
@Override public ProtocolMetaData deploy(Archive<?> archive) throws DeploymentException { String runtimeName = archiveDeployer.get().deploy(archive); return getManagementClient().getProtocolMetaData(runtimeName); }
public final void stop(Integer timeout) throws LifecycleException { try { stopInternal(timeout); } finally { safeCloseClient(); } }
protected ModelControllerClient getModelControllerClient() { return getManagementClient().getControllerClient(); }
@Override public ProtocolMetaData deploy(Archive<?> archive) throws DeploymentException { String runtimeName = archiveDeployer.get().deploy(archive); return getManagementClient().getProtocolMetaData(runtimeName); }
@Override public final void stop() throws LifecycleException { try { stopInternal(null); } finally { safeCloseClient(); } }