|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Binder<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.
| Method Summary | |
|---|---|
NamedBinder<T> |
named(String name)
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 |
|---|
NamedBinder<T> named(String name)
name - service name
NamedBinder to further customize
the binding request.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||