public static interface OptionsService.OptionsServiceContext
| Modifier and Type | Method and Description |
|---|---|
OptionsContext |
getEntityOptions(Class<?> entityType)
Returns a context with the options effectively applying for the given entity, as configured programmatically,
via annotations or configuration options, falling back to the global configuration level if a specific option
is not specifically set for the given entity
|
OptionsContext |
getGlobalOptions()
Returns a context with the options applying on the global level, as either configured programmatically or via
configuration options.
|
OptionsContext |
getPropertyOptions(Class<?> entityType,
String propertyName)
Returns a context with the options effectively applying for the given entity, as configured programmatically,
via annotations or configuration options, falling back to the entity and global configuration levels if a
specific option is not specifically set for the given property
|
OptionsContext getGlobalOptions()
OptionsContext getEntityOptions(Class<?> entityType)
entityType - the type of the entityOptionsContext getPropertyOptions(Class<?> entityType, String propertyName)
entityType - the type of the entitypropertyName - the property nameCopyright © 2010-2018 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.