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