Class SpringComponentProvider
- java.lang.Object
-
- org.glassfish.jersey.server.spring.SpringComponentProvider
-
- All Implemented Interfaces:
ComponentProvider,ComponentProvider
public class SpringComponentProvider extends Object implements ComponentProvider
Custom ComponentProvider class. Responsible for 1) bootstrapping Jersey 3 Spring integration and 2) making Jersey skip JAX-RS Spring component life-cycle management and leave it to us.- Author:
- Marko Asplund (marko.asplund at yahoo.com)
-
-
Constructor Summary
Constructors Constructor Description SpringComponentProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanbind(Class<?> component, Set<Class<?>> providerContracts)voiddone()voidinitialize(InjectionManager injectionManager)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.glassfish.jersey.spi.ComponentProvider
bind
-
-
-
-
Method Detail
-
initialize
public void initialize(InjectionManager injectionManager)
- Specified by:
initializein interfaceComponentProvider
-
bind
public boolean bind(Class<?> component, Set<Class<?>> providerContracts)
- Specified by:
bindin interfaceComponentProvider
-
done
public void done()
- Specified by:
donein interfaceComponentProvider
-
-