Class GuiceScopeContext

java.lang.Object
org.jvnet.hk2.guice.bridge.internal.GuiceScopeContext
All Implemented Interfaces:
org.glassfish.hk2.api.Context<GuiceScope>

@Service @Visibility(LOCAL) public class GuiceScopeContext extends Object implements org.glassfish.hk2.api.Context<GuiceScope>
Author:
jwells
  • Constructor Details

    • GuiceScopeContext

      public GuiceScopeContext()
  • Method Details

    • getScope

      public Class<? extends Annotation> getScope()
      Specified by:
      getScope in interface org.glassfish.hk2.api.Context<GuiceScope>
    • findOrCreate

      public <U> U findOrCreate(org.glassfish.hk2.api.ActiveDescriptor<U> activeDescriptor, org.glassfish.hk2.api.ServiceHandle<?> root)
      Specified by:
      findOrCreate in interface org.glassfish.hk2.api.Context<GuiceScope>
    • containsKey

      public boolean containsKey(org.glassfish.hk2.api.ActiveDescriptor<?> descriptor)
      Specified by:
      containsKey in interface org.glassfish.hk2.api.Context<GuiceScope>
    • destroyOne

      public void destroyOne(org.glassfish.hk2.api.ActiveDescriptor<?> descriptor)
      Specified by:
      destroyOne in interface org.glassfish.hk2.api.Context<GuiceScope>
    • supportsNullCreation

      public boolean supportsNullCreation()
      Specified by:
      supportsNullCreation in interface org.glassfish.hk2.api.Context<GuiceScope>
    • isActive

      public boolean isActive()
      Specified by:
      isActive in interface org.glassfish.hk2.api.Context<GuiceScope>
    • shutdown

      public void shutdown()
      Specified by:
      shutdown in interface org.glassfish.hk2.api.Context<GuiceScope>