public interface WebApplicationProvider
An implementation (a service-provider) identifies itself by placing a provider-configuration file (if not already present), "com.sun.research.ws.rest.spi.container.WebApplicationProvider" in the resource directory META-INF/services, and including the fully qualified service-provider-class of the implementation in the file.
Only the first registered provider in the provider-configuration file will be used any subsequent providers (if present) will be ignored.
Modifier and Type | Method and Description |
---|---|
WebApplication |
createWebApplication()
Instantiate a new
WebApplication . |
WebApplication createWebApplication() throws ContainerException
WebApplication
.ContainerException
- if there is an error creating the Web application.Copyright © 2016 Oracle Corporation. All Rights Reserved.