|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.jersey.simple.impl.container.SimpleContainerProvider
public class SimpleContainerProvider
This is used to provide the SimpleContainer
implementation when
the class path is scanned by the ContainerFactory.createContainer(Class)
method. This will return a simple container what wraps the provided web
application.
Constructor Summary | |
---|---|
SimpleContainerProvider()
|
Method Summary | |
---|---|
org.simpleframework.http.core.Container |
createContainer(java.lang.Class<org.simpleframework.http.core.Container> type,
ResourceConfig resourceConfig,
WebApplication application)
Create an container of type T. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SimpleContainerProvider()
Method Detail |
---|
public org.simpleframework.http.core.Container createContainer(java.lang.Class<org.simpleframework.http.core.Container> type, ResourceConfig resourceConfig, WebApplication application) throws ContainerException
ContainerProvider
The container provider SHOULD NOT initiate the Web application. The container provider MAY modify the resource configuraton.
createContainer
in interface ContainerProvider<org.simpleframework.http.core.Container>
type
- the type of the container.resourceConfig
- the resource configuration.application
- the Web application the container delegates to for
the handling of HTTP requests.
type
.
ContainerException
- if there is an error creating the container.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |