Package | Description |
---|---|
bayou.od |
A simple library for Service Locator pattern.
|
Modifier and Type | Method and Description |
---|---|
static <T> OD.BindingBuilder<T> |
OD.bind(Class<T> clazz)
To add a global binding.
|
static <T> OD.BindingBuilder<T> |
OD.Local.bind(Class<T> clazz)
To add a local binding.
|
static <T> OD.BindingBuilder<T> |
OD.bind(ClassType<T> type)
To add a global binding.
|
static <T> OD.BindingBuilder<T> |
OD.Local.bind(ClassType<T> type)
To add a local binding.
|
OD.BindingBuilder<T> |
OD.BindingBuilder.tags(Object... tags)
Specify exact-matching tags.
|
OD.BindingBuilder<T> |
OD.BindingBuilder.tagsMatch(OD.Predicate<Object[]> predicate)
Specify how tags will be matched.
|