Search in sources :

Example 1 with Maven2ServerIndexerImpl

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

the class Maven2ServerImpl method createIndexer.

public MavenServerIndexer createIndexer() throws RemoteException {
    try {
        Maven2ServerIndexerImpl result = new Maven2ServerIndexerImpl();
        UnicastRemoteObject.exportObject(result, 0);
        return result;
    } catch (RemoteException e) {
        throw rethrowException(e);
    }
}
Also used : RemoteException(java.rmi.RemoteException) Maven2ServerIndexerImpl(org.jetbrains.idea.maven.server.embedder.Maven2ServerIndexerImpl)

Aggregations

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