org.glassfish.jersey.server.spi
Interface Container


@Contract
@ConstrainedTo(value=SERVER)
public interface Container

Jersey container service contract. The purpose of the container is to configure and host a single Jersey application.

Author:
Marek Potociar (marek.potociar at oracle.com)
See Also:
ApplicationHandler

Method Summary
 ResourceConfig getConfiguration()
          Return an immutable representation of the current configuration.
 void reload()
          Reload the hosted Jersey application using the current configuration.
 void reload(ResourceConfig configuration)
          Reload the hosted Jersey application using a new configuration.
 

Method Detail

getConfiguration

ResourceConfig getConfiguration()
Return an immutable representation of the current configuration.

Returns:
current configuration of the hosted Jersey application.

reload

void reload()
Reload the hosted Jersey application using the current configuration.


reload

void reload(ResourceConfig configuration)
Reload the hosted Jersey application using a new configuration.

Parameters:
configuration - new configuration used for the reload.


Copyright © 2007-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.