com.carma.swagger.doclet.sample.JaxRsApplication Maven / Gradle / Ivy
package com.carma.swagger.doclet.sample;
import java.util.Collections;
import java.util.HashSet;
import java.util.Set;
import javax.ws.rs.core.Application;
/**
* The JaxRsApplication represents
* @version $Id$
* @author conor.roche
*/
public class JaxRsApplication extends Application {
private final Set> classes;
/**
* This creates a JaxRsApplication
*/
public JaxRsApplication() {
HashSet> c = new HashSet>();
c.add(BeanParamResource.class);
this.classes = Collections.unmodifiableSet(c);
}
@Override
public Set> getClasses() {
return this.classes;
}
}