Interface MainExceptionMapperFactory
- All Known Implementing Classes:
MainExceptionMapperFactoryImpl
public interface MainExceptionMapperFactory
Instantiates the
MainExceptionMapper
.
We cannot register the mapper as a service point directly, because Jersey won't be able
to extract the exception class the mapper should get mapped onto. Jersey would try to
extract the exception class from the generic parameter of the interface, which won't
be available because of the Spring proxy mechanism.-
Method Summary
-
Method Details
-
createMainExceptionMapper
MainExceptionMapper createMainExceptionMapper()
-