Uses of Interface
org.glassfish.hk2.ContractLocator

Packages that use ContractLocator
org.glassfish.hk2   
 

Uses of ContractLocator in org.glassfish.hk2
 

Methods in org.glassfish.hk2 that return ContractLocator
 ContractLocator<T> ContractLocator.annotatedWith(Class<? extends Annotation> annotation)
          Qualify this ContractLocator to identify services have the given annotation.
<U> ContractLocator<U>
Locator.forContract(Class<U> contract)
          Retrieve a service locator via a contract class.
 ContractLocator<?> Locator.forContract(String contractName)
          See Locator.forContract(Class), with the exception that the type is provided as a string instead of a class instance.
<U> ContractLocator<U>
Locator.forContract(TypeLiteral<U> typeLiteral)
          See Locator.forContract(Class), with the exception that the type is a TypeLiteral, a parameterized type.
 ContractLocator<T> ContractLocator.in(Scope scope)
          Qualify this ContractLocator to identify services that are scoped scope.
 ContractLocator<T> ContractLocator.named(String name)
          Qualify this ContractLocator to identify services that are named name.
 



Copyright © 2012 Oracle Corporation. All Rights Reserved.