public interface Flavored
| Modifier and Type | Method and Description |
|---|---|
<T> T |
getFlavor(Class<T> flavorInterface,
boolean assertExists)
Flavor handler.
|
boolean |
hasFlavor(Class<?> flavorInterface)
Checks if the specified flavor is supported.
|
<T> T getFlavor(Class<T> flavorInterface, boolean assertExists)
Flavor handler provide domain specific extensions to generic meta data types such as WebSerice support and Hibernate access.
argument handlerInterface Java class or Interface that provides the functionality of the handler argument assertExists throws a FlavorNotSupportedException if the flavor does not existFlavorNotSupportedExceptionboolean hasFlavor(Class<?> flavorInterface)
Copyright © 2015. All Rights Reserved.