org.glassfish.hk2.scopes
Class PerLookup

java.lang.Object
  extended by org.glassfish.hk2.scopes.PerLookup
All Implemented Interfaces:
Scope

@Scoped(value=Singleton.class)
public class PerLookup
extends Object
implements Scope

Scope local to each invocation.

Components in this scope will create new instances every time someone asks for it.

Author:
Kohsuke Kawaguchi

Constructor Summary
PerLookup()
           
 
Method Summary
 ScopeInstance current()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PerLookup

public PerLookup()
Method Detail

current

public ScopeInstance current()
Specified by:
current in interface Scope


Copyright © 2012 Oracle Corporation. All Rights Reserved.