public final class DefaultApplicationFactory extends Object
Modifier and Type | Class and Description |
---|---|
protected static class |
DefaultApplicationFactory.DefaultApplication |
Modifier and Type | Method and Description |
---|---|
static javax.ws.rs.core.Application |
createApplication(List<ClassResourceInfo> cris,
Set<String> resourcePackages) |
static javax.ws.rs.core.Application |
createApplication(Set<Class<?>> serviceClasses) |
static ApplicationInfo |
createApplicationInfo(JAXRSServiceFactoryBean sfb,
Set<String> resourcePackages,
Bus bus) |
static ApplicationInfo |
createApplicationInfo(Set<Class<?>> serviceClasses,
Bus bus) |
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).
|
static javax.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).
|
public static javax.ws.rs.core.Application createApplicationOrDefault(Server server, ServerProviderFactory factory, JAXRSServiceFactoryBean sfb, Bus bus, Set<String> resourcePackages, boolean scan)
public static ApplicationInfo createApplicationInfoOrDefault(Server server, ServerProviderFactory factory, JAXRSServiceFactoryBean sfb, Bus bus, boolean scan)
public static ApplicationInfo createApplicationInfo(Set<Class<?>> serviceClasses, Bus bus)
public static ApplicationInfo createApplicationInfo(JAXRSServiceFactoryBean sfb, Set<String> resourcePackages, Bus bus)
public static javax.ws.rs.core.Application createApplication(Set<Class<?>> serviceClasses)
public static javax.ws.rs.core.Application createApplication(List<ClassResourceInfo> cris, Set<String> resourcePackages)
Apache CXF