
net.java.trueupdate.server.maven.MavenUpdateServerApplication Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of trueupdate-server-maven Show documentation
Show all versions of trueupdate-server-maven Show documentation
Provides a RESTful web service for diffing JARs in one or more Maven
repositories.
The newest version!
/*
* Copyright (C) 2013 Schlichtherle IT Services & Stimulus Software.
* All rights reserved. Use is subject to license terms.
*/
package net.java.trueupdate.server.maven;
import java.util.*;
import javax.annotation.concurrent.Immutable;
import javax.ws.rs.ApplicationPath;
import javax.ws.rs.core.Application;
import net.java.trueupdate.jaxrs.server.UpdateServiceExceptionMapper;
/**
* An application which provides the class {@link UpdateServiceExceptionMapper}
* and a new {@link MavenUpdateServer}.
*
* @author Christian Schlichtherle
*/
@ApplicationPath("/")
@Immutable
public final class MavenUpdateServerApplication extends Application {
/** Returns a set with {@link UpdateServiceExceptionMapper}. */
@SuppressWarnings("unchecked")
@Override public Set> getClasses() {
return (Set) Collections.singleton(UpdateServiceExceptionMapper.class);
}
/** Returns a set with a new {@link MavenUpdateServer}. */
@Override public Set
© 2015 - 2025 Weber Informatics LLC | Privacy Policy