Class ServerCdiExtension

  • All Implemented Interfaces:
    Extension

    public class ServerCdiExtension
    extends Object
    implements Extension
    Extension to gather JAX-RS application or JAX-RS resource classes if no application is present.
    • Constructor Detail

      • ServerCdiExtension

        public ServerCdiExtension()
    • Method Detail

      • gatherApplications

        public <T> void gatherApplications​(@Observes
                                           ProcessInjectionTarget<T> pit)
        Gather Application or resource classes to start.
        Type Parameters:
        T - any type
        Parameters:
        pit - injection target