|
||||||||||
| 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<A> type,
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 <A> A createContainer(Class<A> type,
Application application)
The list of service-provider supporting the ContainerProvider
service-provider will be iterated over until one returns a non-null
container instance.
A - the type of the container.type - 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 | |||||||||