|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.glassfish.jersey.server.ContainerFactory
public final class ContainerFactory
Factory for creating specific HTTP-based containers.
| Method Summary | ||
|---|---|---|
static
|
createContainer(Class<T> type,
javax.ws.rs.core.Application application)
Create a container according to the class requested. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static <T> T createContainer(Class<T> type,
javax.ws.rs.core.Application application)
The list of service-provider supporting the ContainerProvider
service-provider will be iterated over until one returns a non-null
container instance.
T - container typetype - Type of the containerapplication - Jersey application.
ContainerException - if there is an error creating the container.
IllegalArgumentException - if no container provider supports the type.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||