org.jvnet.hk2.internal
Class PerLookupContext

java.lang.Object
  extended by org.jvnet.hk2.internal.PerLookupContext
All Implemented Interfaces:
Context<PerLookup>

public class PerLookupContext
extends java.lang.Object
implements Context<PerLookup>

Author:
jwells

Constructor Summary
PerLookupContext()
           
 
Method Summary
 boolean containsKey(ActiveDescriptor<?> descriptor)
           
 void destroyOne(ActiveDescriptor<?> descriptor)
           
<T> T
findOrCreate(ActiveDescriptor<T> activeDescriptor, ServiceHandle<?> root)
           
 java.lang.Class<? extends java.lang.annotation.Annotation> getScope()
           
 boolean isActive()
           
 void shutdown()
           
 boolean supportsNullCreation()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PerLookupContext

public PerLookupContext()
Method Detail

getScope

public java.lang.Class<? extends java.lang.annotation.Annotation> getScope()
Specified by:
getScope in interface Context<PerLookup>

findOrCreate

public <T> T findOrCreate(ActiveDescriptor<T> activeDescriptor,
                          ServiceHandle<?> root)
Specified by:
findOrCreate in interface Context<PerLookup>

containsKey

public boolean containsKey(ActiveDescriptor<?> descriptor)
Specified by:
containsKey in interface Context<PerLookup>

isActive

public boolean isActive()
Specified by:
isActive in interface Context<PerLookup>

supportsNullCreation

public boolean supportsNullCreation()
Specified by:
supportsNullCreation in interface Context<PerLookup>

shutdown

public void shutdown()
Specified by:
shutdown in interface Context<PerLookup>

destroyOne

public void destroyOne(ActiveDescriptor<?> descriptor)
Specified by:
destroyOne in interface Context<PerLookup>


Copyright © 2012 Oracle Corporation. All Rights Reserved.