org.glassfish.hk2
Interface ScopeInstance


public interface ScopeInstance

A particular instanciation of a org.jvnet.hk2.component.Scope.

For example, for the "request scope", an instance of ScopeInstance is created for each request.

Author:
Jerome Dochez
See Also:
org.jvnet.hk2.component.Scope#current()

Method Summary
<T> T
get(ComponentProvider<T> inhabitant)
           
<T> T
put(ComponentProvider<T> inhabitant, T value)
           
 void release()
           
 

Method Detail

get

<T> T get(ComponentProvider<T> inhabitant)

put

<T> T put(ComponentProvider<T> inhabitant,
          T value)

release

void release()


Copyright © 2011 Oracle Corporation. All Rights Reserved.