Class InjectionFactories.ReuseFromContextSolrCoreFactory

  • All Implemented Interfaces:
    org.glassfish.hk2.api.Factory<SolrCore>
    Enclosing class:
    InjectionFactories

    public static class InjectionFactories.ReuseFromContextSolrCoreFactory
    extends Object
    implements org.glassfish.hk2.api.Factory<SolrCore>
    Fetch the (existing) SolrCore from the request context
    • Constructor Detail

      • ReuseFromContextSolrCoreFactory

        @Inject
        public ReuseFromContextSolrCoreFactory​(javax.ws.rs.container.ContainerRequestContext containerRequestContext)
    • Method Detail

      • provide

        public SolrCore provide()
        Specified by:
        provide in interface org.glassfish.hk2.api.Factory<SolrCore>
      • dispose

        public void dispose​(SolrCore instance)
        Specified by:
        dispose in interface org.glassfish.hk2.api.Factory<SolrCore>