Search in sources :

Example 1 with Maven2ServerEmbedderImpl

use of org.jetbrains.idea.maven.server.embedder.Maven2ServerEmbedderImpl in project intellij-community by JetBrains.

the class Maven2ServerImpl method createEmbedder.

public MavenServerEmbedder createEmbedder(MavenEmbedderSettings settings) throws RemoteException {
    try {
        Maven2ServerEmbedderImpl result = Maven2ServerEmbedderImpl.create(settings.getSettings());
        UnicastRemoteObject.exportObject(result, 0);
        return result;
    } catch (RemoteException e) {
        throw rethrowException(e);
    }
}
Also used : Maven2ServerEmbedderImpl(org.jetbrains.idea.maven.server.embedder.Maven2ServerEmbedderImpl) RemoteException(java.rmi.RemoteException)

Aggregations

RemoteException (java.rmi.RemoteException)1 Maven2ServerEmbedderImpl (org.jetbrains.idea.maven.server.embedder.Maven2ServerEmbedderImpl)1