Class ServerBootstrapBag

java.lang.Object
org.glassfish.jersey.internal.BootstrapBag
org.glassfish.jersey.server.ServerBootstrapBag

public class ServerBootstrapBag extends BootstrapBag
A holder that is used only during Jersey bootstrap to keep the instances of the given types and then use them during the bootstrap. This works as a replacement of an injection framework during a bootstrap and intentionally keeps all needed types in separate fields to make strong type nature and to preserve a clear view which types are needed to inject to other services.

This bootstrap bag is specialized for server part of Jersey.

Author:
Petr Bouda
  • Constructor Details

    • ServerBootstrapBag

      public ServerBootstrapBag()
  • Method Details