Search in sources :

Example 1 with MavenServer

use of org.eclipse.che.maven.server.MavenServer in project che by eclipse.

the class MavenServerWrapper method dispose.

public void dispose() {
    MavenServer wrapped = getWrapped();
    if (wrapped != null) {
        try {
            wrapped.dispose();
        } catch (RemoteException e) {
            LOG.debug(e.getMessage(), e);
            onError();
        }
    }
    uncustomize();
}
Also used : MavenServer(org.eclipse.che.maven.server.MavenServer) RemoteException(java.rmi.RemoteException)

Example 2 with MavenServer

use of org.eclipse.che.maven.server.MavenServer in project che by eclipse.

the class MavenServerWrapper method reset.

public void reset() {
    MavenServer wrapped = getWrapped();
    if (wrapped != null) {
        try {
            wrapped.reset();
        } catch (RemoteException e) {
            LOG.debug(e.getMessage(), e);
            onError();
        }
    }
    uncustomize();
}
Also used : MavenServer(org.eclipse.che.maven.server.MavenServer) RemoteException(java.rmi.RemoteException)

Aggregations

RemoteException (java.rmi.RemoteException)2 MavenServer (org.eclipse.che.maven.server.MavenServer)2