public class InfinispanResourceDescriptionResolver extends StandardResourceDescriptionResolver
REPLY
Constructor and Description |
---|
InfinispanResourceDescriptionResolver(String keyPrefix,
String bundleBaseName,
ClassLoader bundleLoader) |
Modifier and Type | Method and Description |
---|---|
String |
getChildTypeDescription(String childType,
Locale locale,
ResourceBundle bundle)
Gets the description of one of the resource's child types.
|
String |
getOperationParameterDescription(String operationName,
String paramName,
Locale locale,
ResourceBundle bundle)
Gets the description of one of the resource's operation's parameters.
|
String |
getOperationParameterValueTypeDescription(String operationName,
String paramName,
Locale locale,
ResourceBundle bundle,
String... suffixes)
Gets the description of a portion of a complex value type of one of the resource's operation's parameters.
|
String |
getResourceAttributeDescription(String attributeName,
Locale locale,
ResourceBundle bundle)
Gets the description of one of the resource's attributes.
|
String |
getResourceAttributeValueTypeDescription(String attributeName,
Locale locale,
ResourceBundle bundle,
String... suffixes)
Gets the description of a portion of a complex value type of one of the resource's attributes.
|
getChildResolver, getKeyPrefix, getOperationDeprecatedDescription, getOperationDescription, getOperationParameterDeprecatedDescription, getOperationReplyDescription, getOperationReplyValueTypeDescription, getResourceAttributeDeprecatedDescription, getResourceBundle, getResourceDeprecatedDescription, getResourceDescription, isReuseAttributesForAdd, isUseUnprefixedChildTypes
public InfinispanResourceDescriptionResolver(String keyPrefix, String bundleBaseName, ClassLoader bundleLoader)
public String getResourceAttributeDescription(String attributeName, Locale locale, ResourceBundle bundle)
StandardResourceDescriptionResolver
getResourceAttributeDescription
in interface ResourceDescriptionResolver
getResourceAttributeDescription
in class StandardResourceDescriptionResolver
attributeName
- the name of the attributelocale
- the localebundle
- a resource bundle previously obtained from a call to ResourceDescriptionResolver.getResourceBundle(java.util.Locale)
,
or null
if that call returned null
public String getResourceAttributeValueTypeDescription(String attributeName, Locale locale, ResourceBundle bundle, String... suffixes)
StandardResourceDescriptionResolver
getResourceAttributeValueTypeDescription
in interface ResourceDescriptionResolver
getResourceAttributeValueTypeDescription
in class StandardResourceDescriptionResolver
attributeName
- the name of the attributelocale
- the localebundle
- a resource bundle previously obtained from a call to ResourceDescriptionResolver.getResourceBundle(java.util.Locale)
,
or null
if that call returned null
suffixes
- suffixes to dot-append to the base attribute key to generate a keypublic String getOperationParameterDescription(String operationName, String paramName, Locale locale, ResourceBundle bundle)
StandardResourceDescriptionResolver
getOperationParameterDescription
in interface ResourceDescriptionResolver
getOperationParameterDescription
in class StandardResourceDescriptionResolver
operationName
- the name of the operationparamName
- the name of the operation's parameterlocale
- the localebundle
- a resource bundle previously obtained from a call to ResourceDescriptionResolver.getResourceBundle(java.util.Locale)
,
or null
if that call returned null
public String getOperationParameterValueTypeDescription(String operationName, String paramName, Locale locale, ResourceBundle bundle, String... suffixes)
StandardResourceDescriptionResolver
getOperationParameterValueTypeDescription
in interface ResourceDescriptionResolver
getOperationParameterValueTypeDescription
in class StandardResourceDescriptionResolver
operationName
- the name of the operationparamName
- the name of the operation's parameterlocale
- the localebundle
- a resource bundle previously obtained from a call to ResourceDescriptionResolver.getResourceBundle(java.util.Locale)
,
or null
if that call returned null
suffixes
- suffixes to dot-append to the base attribute key to generate a keypublic String getChildTypeDescription(String childType, Locale locale, ResourceBundle bundle)
StandardResourceDescriptionResolver
getChildTypeDescription
in interface ResourceDescriptionResolver
getChildTypeDescription
in class StandardResourceDescriptionResolver
childType
- the name of the child typelocale
- the localebundle
- a resource bundle previously obtained from a call to ResourceDescriptionResolver.getResourceBundle(java.util.Locale)
,
or null
if that call returned null
Copyright © 2015 JBoss by Red Hat. All rights reserved.