X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fsal-rest-connector%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fsal%2Frest%2Fimpl%2FRestconfApplication.java;h=a5fd7bdaab2646f35e7463f9698f15ca217de11f;hb=b5fcde5020da05b4447d2efd994f3538a7401094;hp=6166a084c19c1e9e80480c2d3745e04bc9b28eca;hpb=405ea7ce68d22bd3d2501857c5253793b581b086;p=controller.git diff --git a/opendaylight/md-sal/sal-rest-connector/src/main/java/org/opendaylight/controller/sal/rest/impl/RestconfApplication.java b/opendaylight/md-sal/sal-rest-connector/src/main/java/org/opendaylight/controller/sal/rest/impl/RestconfApplication.java index 6166a084c1..a5fd7bdaab 100644 --- a/opendaylight/md-sal/sal-rest-connector/src/main/java/org/opendaylight/controller/sal/rest/impl/RestconfApplication.java +++ b/opendaylight/md-sal/sal-rest-connector/src/main/java/org/opendaylight/controller/sal/rest/impl/RestconfApplication.java @@ -16,8 +16,15 @@ import org.opendaylight.controller.sal.restconf.impl.BrokerFacade; import org.opendaylight.controller.sal.restconf.impl.ControllerContext; import org.opendaylight.controller.sal.restconf.impl.RestconfImpl; +import com.google.common.collect.ImmutableSet; + public class RestconfApplication extends Application { + @Override + public Set> getClasses() { + return ImmutableSet.>of( RestconfDocumentedExceptionMapper.class ); + } + @Override public Set getSingletons() { Set singletons = new HashSet<>(); @@ -36,4 +43,5 @@ public class RestconfApplication extends Application { return singletons; } + }