| Package | Description |
|---|---|
| restx.factory |
| Modifier and Type | Field and Description |
|---|---|
static Comparator<NamedComponent<?>> |
Factory.NAMED_COMPONENT_COMPARATOR |
| Modifier and Type | Method and Description |
|---|---|
NamedComponent<T> |
ComponentCustomizer.customize(NamedComponent<T> namedComponent) |
static <T> NamedComponent<T> |
NamedComponent.of(Class<T> clazz,
String name,
int priority,
T component) |
static <T> NamedComponent<T> |
NamedComponent.of(Class<T> clazz,
String name,
T component) |
| Modifier and Type | Method and Description |
|---|---|
<T> com.google.common.base.Optional<NamedComponent<T>> |
Warehouse.checkOut(Name<T> name) |
<T> com.google.common.base.Optional<NamedComponent<T>> |
StdWarehouse.checkOut(Name<T> name) |
<T> com.google.common.base.Optional<NamedComponent<T>> |
FilteredWarehouse.checkOut(Name<T> name) |
protected abstract Set<NamedComponent<T>> |
Factory.Query.doFind() |
protected Set<NamedComponent<T>> |
Factory.SingleQuery.doFind() |
protected Set<NamedComponent<T>> |
Factory.ClassQuery.doFind() |
protected abstract com.google.common.base.Optional<NamedComponent<T>> |
Factory.Query.doFindOne() |
protected com.google.common.base.Optional<NamedComponent<T>> |
Factory.MultipleQuery.doFindOne() |
protected com.google.common.base.Optional<NamedComponent<Factory>> |
Factory.FactoryQuery.doFindOne() |
protected com.google.common.base.Optional<NamedComponent<T>> |
Factory.NameQuery.doFindOne() |
Set<NamedComponent<T>> |
Factory.Query.find() |
com.google.common.base.Optional<NamedComponent<T>> |
Factory.Query.findOne() |
<T> Iterable<NamedComponent<T>> |
SatisfiedBOM.get(Factory.Query<T> key) |
Iterable<NamedComponent<? extends Object>> |
SatisfiedBOM.getAllComponents() |
<T> com.google.common.base.Optional<NamedComponent<T>> |
SatisfiedBOM.getOne(Factory.Query<T> key) |
com.google.common.base.Optional<NamedComponent<T>> |
EmptyBox.pick() |
com.google.common.base.Optional<NamedComponent<T>> |
DisposableComponentBox.pick() |
com.google.common.base.Optional<NamedComponent<T>> |
ComponentBoxWrapper.pick() |
com.google.common.base.Optional<NamedComponent<T>> |
ComponentBox.pick() |
com.google.common.base.Optional<NamedComponent<T>> |
BoundlessComponentBox.pick() |
static <T> com.google.common.base.Function<NamedComponent<T>,T> |
NamedComponent.toComponent() |
static <T> com.google.common.base.Function<NamedComponent<T>,Name<T>> |
NamedComponent.toName() |
| Modifier and Type | Method and Description |
|---|---|
NamedComponent<T> |
ComponentCustomizer.customize(NamedComponent<T> namedComponent) |
<T> ComponentBox<T> |
ComponentBox.BoxFactory.of(NamedComponent<T> namedComponent) |
<T> Factory.LocalMachines |
Factory.LocalMachines.set(int priority,
NamedComponent<T> namedComponent) |
<T> Factory.LocalMachines |
Factory.LocalMachines.set(NamedComponent<T> namedComponent) |
| Modifier and Type | Method and Description |
|---|---|
FactoryMachineWrapper.Builder |
FactoryMachineWrapper.Builder.transformComponents(com.google.common.base.Function<Map.Entry<SatisfiedBOM,NamedComponent>,NamedComponent> transform) |
FactoryMachineWrapper.Builder |
FactoryMachineWrapper.Builder.transformComponents(com.google.common.base.Function<Map.Entry<SatisfiedBOM,NamedComponent>,NamedComponent> transform) |
| Constructor and Description |
|---|
BoundlessComponentBox(NamedComponent<T> namedComponent) |
DisposableComponentBox(NamedComponent<T> namedComponent) |
SingletonFactoryMachine(int priority,
NamedComponent<C> component) |
| Constructor and Description |
|---|
SatisfiedBOM(BillOfMaterials bom,
com.google.common.collect.ImmutableMultimap<Factory.Query<?>,NamedComponent<?>> materials) |
Copyright © 2017. All Rights Reserved.