Class DefaultApplicationFactory
java.lang.Object
org.apache.cxf.jaxrs.common.openapi.DefaultApplicationFactory
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static class -
Method Summary
Modifier and TypeMethodDescriptionstatic jakarta.ws.rs.core.ApplicationcreateApplication(List<ClassResourceInfo> cris, Set<String> resourcePackages) static jakarta.ws.rs.core.ApplicationcreateApplication(Set<Class<?>> serviceClasses) static ApplicationInfocreateApplicationInfo(Set<Class<?>> serviceClasses, Bus bus) static ApplicationInfocreateApplicationInfo(JAXRSServiceFactoryBean sfb, Set<String> resourcePackages, Bus bus) static ApplicationInfocreateApplicationInfoOrDefault(Server server, ServerProviderFactory factory, JAXRSServiceFactoryBean sfb, Bus bus, boolean scan) Detects the application (if present) or creates the default application (in case the scan is disabled).static jakarta.ws.rs.core.ApplicationcreateApplicationOrDefault(Server server, ServerProviderFactory factory, JAXRSServiceFactoryBean sfb, Bus bus, Set<String> resourcePackages, boolean scan) Detects the application (if present) or creates the default application (in case the scan is disabled).
-
Method Details
-
createApplicationOrDefault
public static jakarta.ws.rs.core.Application createApplicationOrDefault(Server server, ServerProviderFactory factory, JAXRSServiceFactoryBean sfb, 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 ApplicationInfo createApplicationInfoOrDefault(Server server, ServerProviderFactory factory, JAXRSServiceFactoryBean sfb, Bus bus, boolean scan) Detects the application (if present) or creates the default application (in case the scan is disabled). -
createApplicationInfo
-
createApplicationInfo
public static ApplicationInfo createApplicationInfo(JAXRSServiceFactoryBean sfb, Set<String> resourcePackages, Bus bus) -
createApplication
-
createApplication
public static jakarta.ws.rs.core.Application createApplication(List<ClassResourceInfo> cris, Set<String> resourcePackages)
-