org.glassfish.hk2
Interface ContractLocator<T>

All Superinterfaces:
Descriptor, ServiceLocator<T>

public interface ContractLocator<T>
extends ServiceLocator<T>

Created by IntelliJ IDEA. User: dochez Date: 5/3/11 Time: 10:15 AM To change this template use File | Settings | File Templates.


Method Summary
 ContractLocator<T> annotatedWith(java.lang.Class<? extends java.lang.annotation.Annotation>... annotations)
           
 Providers<T> getProviders()
           
 ContractLocator<T> in(Scope scope)
           
 ContractLocator<T> named(java.lang.String name)
           
 
Methods inherited from interface org.glassfish.hk2.ServiceLocator
get, getProvider
 
Methods inherited from interface org.glassfish.hk2.Descriptor
getAnnotations, getContracts, getName, getScope, getTypeName, metadata
 

Method Detail

named

ContractLocator<T> named(java.lang.String name)

in

ContractLocator<T> in(Scope scope)
Specified by:
in in interface ServiceLocator<T>

annotatedWith

ContractLocator<T> annotatedWith(java.lang.Class<? extends java.lang.annotation.Annotation>... annotations)

getProviders

Providers<T> getProviders()


Copyright © 2011 Oracle Corporation. All Rights Reserved.