org.glassfish.hk2
Interface Binder<T>

All Superinterfaces:
NamedBinder<T>

Deprecated.

@Deprecated
public interface Binder<T>
extends NamedBinder<T>

A binder instance can be used to customize a binding by providing a name for the bound service.

The combination of contract interface fully qualified class name and this name is unique in the registry of services. If another service is already registered under this interface name and this name, this binding will replace the service in the registry.

Author:
Jerome Dochez, Jeff Trent

Method Summary
 NamedBinder<T> named(String name)
          Deprecated. Names a binding that will be used to register the service in the registry.
 
Methods inherited from interface org.glassfish.hk2.NamedBinder
annotatedWith, to, to, to, toFactory, toFactory, toFactory, toInstance
 

Method Detail

named

NamedBinder<T> named(String name)
Deprecated. 
Names a binding that will be used to register the service in the registry.

Parameters:
name - service name
Returns:
a NamedBinder to further customize the binding request.


Copyright © 2013 Oracle Corporation. All Rights Reserved.