Class DefaultApplicationFactory


  • public final class DefaultApplicationFactory
    extends Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static javax.ws.rs.core.Application createApplication​(List<org.apache.cxf.jaxrs.model.ClassResourceInfo> cris, Set<String> resourcePackages)  
      static javax.ws.rs.core.Application createApplication​(Set<Class<?>> serviceClasses)  
      static org.apache.cxf.jaxrs.model.ApplicationInfo createApplicationInfo​(Set<Class<?>> serviceClasses, org.apache.cxf.Bus bus)  
      static org.apache.cxf.jaxrs.model.ApplicationInfo createApplicationInfo​(org.apache.cxf.jaxrs.JAXRSServiceFactoryBean sfb, Set<String> resourcePackages, org.apache.cxf.Bus bus)  
      static org.apache.cxf.jaxrs.model.ApplicationInfo createApplicationInfoOrDefault​(org.apache.cxf.endpoint.Server server, org.apache.cxf.jaxrs.provider.ServerProviderFactory factory, org.apache.cxf.jaxrs.JAXRSServiceFactoryBean sfb, org.apache.cxf.Bus bus, boolean scan)
      Detects the application (if present) or creates the default application (in case the scan is disabled).
      static javax.ws.rs.core.Application createApplicationOrDefault​(org.apache.cxf.endpoint.Server server, org.apache.cxf.jaxrs.provider.ServerProviderFactory factory, org.apache.cxf.jaxrs.JAXRSServiceFactoryBean sfb, org.apache.cxf.Bus bus, Set<String> resourcePackages, boolean scan)
      Detects the application (if present) or creates the default application (in case the scan is disabled).
    • Method Detail

      • createApplicationOrDefault

        public static javax.ws.rs.core.Application createApplicationOrDefault​(org.apache.cxf.endpoint.Server server,
                                                                              org.apache.cxf.jaxrs.provider.ServerProviderFactory factory,
                                                                              org.apache.cxf.jaxrs.JAXRSServiceFactoryBean sfb,
                                                                              org.apache.cxf.Bus bus,
                                                                              Set<String> resourcePackages,
                                                                              boolean scan)
        Detects the application (if present) or creates the default application (in case the scan is disabled).
      • createApplicationInfoOrDefault

        public static org.apache.cxf.jaxrs.model.ApplicationInfo createApplicationInfoOrDefault​(org.apache.cxf.endpoint.Server server,
                                                                                                org.apache.cxf.jaxrs.provider.ServerProviderFactory factory,
                                                                                                org.apache.cxf.jaxrs.JAXRSServiceFactoryBean sfb,
                                                                                                org.apache.cxf.Bus bus,
                                                                                                boolean scan)
        Detects the application (if present) or creates the default application (in case the scan is disabled).
      • createApplicationInfo

        public static org.apache.cxf.jaxrs.model.ApplicationInfo createApplicationInfo​(Set<Class<?>> serviceClasses,
                                                                                       org.apache.cxf.Bus bus)
      • createApplicationInfo

        public static org.apache.cxf.jaxrs.model.ApplicationInfo createApplicationInfo​(org.apache.cxf.jaxrs.JAXRSServiceFactoryBean sfb,
                                                                                       Set<String> resourcePackages,
                                                                                       org.apache.cxf.Bus bus)
      • createApplication

        public static javax.ws.rs.core.Application createApplication​(Set<Class<?>> serviceClasses)
      • createApplication

        public static javax.ws.rs.core.Application createApplication​(List<org.apache.cxf.jaxrs.model.ClassResourceInfo> cris,
                                                                     Set<String> resourcePackages)