Uses of Interface
org.glassfish.hk2.Binder

Packages that use Binder
org.glassfish.hk2   
 

Uses of Binder in org.glassfish.hk2
 

Methods in org.glassfish.hk2 that return Binder
<T> Binder<T>
BinderFactory.bind(java.lang.Class<T> contract, java.lang.Class<?>... contracts)
          Starts a binding process of a service using at least one interface or abstract class Class reference.
 Binder<java.lang.Object> BinderFactory.bind(java.lang.String... contractNames)
          Starts the binding process of a service using String interfaces names that can be used to lookup the service.
 Binder<java.lang.Object> BinderFactory.bind(java.lang.String contractName)
          Binds a service using a String interface name.
<T> Binder<T>
BinderFactory.bind(TypeLiteral<T> typeLiteral)
          Binds a parameterized type by forcing users to create a subclass of TypeLiteral which will allow HK2 to retrieve the parameterized type at runtime.
 



Copyright © 2011 Oracle Corporation. All Rights Reserved.