com.sun.jersey.server.impl.container.grizzly
Class GrizzlyContainerProvider

java.lang.Object
  extended by com.sun.jersey.server.impl.container.grizzly.GrizzlyContainerProvider
All Implemented Interfaces:
ContainerProvider<com.sun.grizzly.tcp.Adapter>

public class GrizzlyContainerProvider
extends Object
implements ContainerProvider<com.sun.grizzly.tcp.Adapter>

Author:
Marc.Hadley@Sun.Com

Constructor Summary
GrizzlyContainerProvider()
           
 
Method Summary
 com.sun.grizzly.tcp.Adapter createContainer(Class<com.sun.grizzly.tcp.Adapter> 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

GrizzlyContainerProvider

public GrizzlyContainerProvider()
Method Detail

createContainer

public com.sun.grizzly.tcp.Adapter createContainer(Class<com.sun.grizzly.tcp.Adapter> type,
                                                   ResourceConfig resourceConfig,
                                                   WebApplication application)
                                            throws ContainerException
Description copied from interface: ContainerProvider
Create an container of type T.

The container provider SHOULD NOT initiate the Web application. The container provider MAY modify the resource configuraton.

Specified by:
createContainer in interface ContainerProvider<com.sun.grizzly.tcp.Adapter>
Parameters:
type - the type of the container.
resourceConfig - the resource configuration.
application - the Web application the container delegates to for the handling of HTTP requests.
Returns:
the container, otherwise null if the provider does not support the requested type.
Throws:
ContainerException - if there is an error creating the container.


Copyright © 2013 Oracle Corporation. All Rights Reserved.