public class EmptyInventory extends Object implements Inventory
Inventory.Mixin| Constructor and Description |
|---|
EmptyInventory() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
protected static <T> Page<T> |
emptyPage(Pager pager) |
protected static EntityNotFoundException |
entityNotFound(Class<? extends Entity> entityClass) |
void |
initialize(Configuration configuration)
Initializes the inventory from the provided configuration object.
|
Tenants.ReadWrite |
tenants()
Entry point into the inventory.
|
public void initialize(Configuration configuration)
Inventoryinitialize in interface Inventoryconfiguration - the configuration to use.public void close()
throws Exception
close in interface AutoCloseableExceptionpublic Tenants.ReadWrite tenants()
InventoryResolvingToSingle.get(String)) or
more (ResolvingToMultiple.getAll(org.hawkular.inventory.api.filters.Filter...))
tenants and navigate further to the entities of interest.protected static EntityNotFoundException entityNotFound(Class<? extends Entity> entityClass)
Copyright © 2015 Red Hat, Inc.. All rights reserved.