Class DefaultApplicationFactory
- java.lang.Object
-
- org.apache.cxf.jaxrs.common.openapi.DefaultApplicationFactory
-
public final class DefaultApplicationFactory extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static classDefaultApplicationFactory.DefaultApplication
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static javax.ws.rs.core.ApplicationcreateApplication(List<org.apache.cxf.jaxrs.model.ClassResourceInfo> cris, Set<String> resourcePackages)static javax.ws.rs.core.ApplicationcreateApplication(Set<Class<?>> serviceClasses)static org.apache.cxf.jaxrs.model.ApplicationInfocreateApplicationInfo(Set<Class<?>> serviceClasses, org.apache.cxf.Bus bus)static org.apache.cxf.jaxrs.model.ApplicationInfocreateApplicationInfo(org.apache.cxf.jaxrs.JAXRSServiceFactoryBean sfb, Set<String> resourcePackages, org.apache.cxf.Bus bus)static org.apache.cxf.jaxrs.model.ApplicationInfocreateApplicationInfoOrDefault(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.ApplicationcreateApplicationOrDefault(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)
-
-