org.jvnet.hk2.component
Class PerLookup

java.lang.Object
  extended by org.jvnet.hk2.component.Scope
      extended by org.jvnet.hk2.component.PerLookup

@Service
@Scoped(value=Singleton.class)
public class PerLookup
extends 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 class Scope


Copyright © 2009 Sun Microsystems, Inc.. All Rights Reserved.