Class NonResolvingResourceDescriptionResolver
java.lang.Object
org.jboss.as.controller.descriptions.StandardResourceDescriptionResolver
org.jboss.as.controller.descriptions.NonResolvingResourceDescriptionResolver
- All Implemented Interfaces:
ResourceDescriptionResolver
Resource description resolver that does no resolving at all.
- Author:
- Tomaz Cerar (c) 2012 Red Hat Inc.
-
Field Summary
FieldsFields inherited from class org.jboss.as.controller.descriptions.StandardResourceDescriptionResolver
REPLY -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptiongetChildResolver(String key) getChildTypeDescription(String childType, Locale locale, ResourceBundle bundle) Gets the description of one of the resource's child types.getOperationDeprecatedDescription(String operationName, Locale locale, ResourceBundle bundle) Gets the description of one of the resource's operations.getOperationDescription(String operationName, Locale locale, ResourceBundle bundle) Gets the description of one of the resource's operations.getOperationParameterDeprecatedDescription(String operationName, String paramName, Locale locale, ResourceBundle bundle) Gets the description of one of the resource's operation's parameters.getOperationParameterDescription(String operationName, String paramName, Locale locale, ResourceBundle bundle) Gets the description of one of the resource's operation's parameters.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.getOperationReplyDescription(String operationName, Locale locale, ResourceBundle bundle) Gets the description of the reply value for one of the resource's operations, ornullif there is no description.getOperationReplyValueTypeDescription(String operationName, Locale locale, ResourceBundle bundle, String... suffixes) Gets the description of a portion of a complex value type of the reply value for one of the resource's operations, ornullif there is no description.getResourceAttributeDeprecatedDescription(String attributeName, Locale locale, ResourceBundle bundle) Gets the description of one of the resource's attributes.getResourceAttributeDescription(String attributeName, Locale locale, ResourceBundle bundle) Gets the description of one of the resource's attributes.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.getResourceBundle(Locale locale) Returns aResourceBundlefor the givenLocale, ornullif this resolver is not based on resource bundles.getResourceDeprecatedDescription(Locale locale, ResourceBundle bundle) Gets the description of the resource.getResourceDescription(Locale locale, ResourceBundle bundle) Gets the description of the resource.Methods inherited from class org.jboss.as.controller.descriptions.StandardResourceDescriptionResolver
getBundleKey, getKeyPrefix, getNotificationDescription, getVariableBundleKey, isReuseAttributesForAdd, isUseUnprefixedChildTypes
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
NonResolvingResourceDescriptionResolver
Deprecated, for removal: This API element is subject to removal in a future version.useINSTANCEinsteadNo-arg constructor.
-
-
Method Details
-
getResourceBundle
Description copied from class:StandardResourceDescriptionResolverReturns aResourceBundlefor the givenLocale, ornullif this resolver is not based on resource bundles.This method will be invoked at least once before a series of invocations of the other methods in this interface, and the returned bundle will be passed to those methods as a parameter. The intent is to cache a resource bundle on the stack during the execution of all the methods needed to describe a resource or operation.
- Specified by:
getResourceBundlein interfaceResourceDescriptionResolver- Overrides:
getResourceBundlein classStandardResourceDescriptionResolver- Parameters:
locale- the locale- Returns:
- the resource bundle, or
null
-
getResourceDescription
Description copied from class:StandardResourceDescriptionResolverGets the description of the resource.- Specified by:
getResourceDescriptionin interfaceResourceDescriptionResolver- Overrides:
getResourceDescriptionin classStandardResourceDescriptionResolver- Parameters:
locale- the localebundle- a resource bundle previously obtained from a call toResourceDescriptionResolver.getResourceBundle(java.util.Locale), ornullif that call returnednull- Returns:
- the localized description
-
getResourceAttributeDescription
public String getResourceAttributeDescription(String attributeName, Locale locale, ResourceBundle bundle) Description copied from class:StandardResourceDescriptionResolverGets the description of one of the resource's attributes.- Specified by:
getResourceAttributeDescriptionin interfaceResourceDescriptionResolver- Overrides:
getResourceAttributeDescriptionin classStandardResourceDescriptionResolver- Parameters:
attributeName- the name of the attributelocale- the localebundle- a resource bundle previously obtained from a call toResourceDescriptionResolver.getResourceBundle(java.util.Locale), ornullif that call returnednull- Returns:
- the localized description
-
getResourceAttributeValueTypeDescription
public String getResourceAttributeValueTypeDescription(String attributeName, Locale locale, ResourceBundle bundle, String... suffixes) Description copied from class:StandardResourceDescriptionResolverGets the description of a portion of a complex value type of one of the resource's attributes.- Specified by:
getResourceAttributeValueTypeDescriptionin interfaceResourceDescriptionResolver- Overrides:
getResourceAttributeValueTypeDescriptionin classStandardResourceDescriptionResolver- Parameters:
attributeName- the name of the attributelocale- the localebundle- a resource bundle previously obtained from a call toResourceDescriptionResolver.getResourceBundle(java.util.Locale), ornullif that call returnednullsuffixes- suffixes to dot-append to the base attribute key to generate a key- Returns:
- the localized description
-
getOperationDescription
Description copied from class:StandardResourceDescriptionResolverGets the description of one of the resource's operations.- Specified by:
getOperationDescriptionin interfaceResourceDescriptionResolver- Overrides:
getOperationDescriptionin classStandardResourceDescriptionResolver- Parameters:
operationName- the name of the operationlocale- the localebundle- a resource bundle previously obtained from a call toResourceDescriptionResolver.getResourceBundle(java.util.Locale), ornullif that call returnednull- Returns:
- the localized description
-
getOperationParameterDescription
public String getOperationParameterDescription(String operationName, String paramName, Locale locale, ResourceBundle bundle) Description copied from class:StandardResourceDescriptionResolverGets the description of one of the resource's operation's parameters.- Specified by:
getOperationParameterDescriptionin interfaceResourceDescriptionResolver- Overrides:
getOperationParameterDescriptionin classStandardResourceDescriptionResolver- Parameters:
operationName- the name of the operationparamName- the name of the operation's parameterlocale- the localebundle- a resource bundle previously obtained from a call toResourceDescriptionResolver.getResourceBundle(java.util.Locale), ornullif that call returnednull- Returns:
- the localized description
-
getOperationParameterValueTypeDescription
public String getOperationParameterValueTypeDescription(String operationName, String paramName, Locale locale, ResourceBundle bundle, String... suffixes) Description copied from class:StandardResourceDescriptionResolverGets the description of a portion of a complex value type of one of the resource's operation's parameters.- Specified by:
getOperationParameterValueTypeDescriptionin interfaceResourceDescriptionResolver- Overrides:
getOperationParameterValueTypeDescriptionin classStandardResourceDescriptionResolver- Parameters:
operationName- the name of the operationparamName- the name of the operation's parameterlocale- the localebundle- a resource bundle previously obtained from a call toResourceDescriptionResolver.getResourceBundle(java.util.Locale), ornullif that call returnednullsuffixes- suffixes to dot-append to the base attribute key to generate a key- Returns:
- the localized description
-
getOperationReplyDescription
public String getOperationReplyDescription(String operationName, Locale locale, ResourceBundle bundle) Description copied from class:StandardResourceDescriptionResolverGets the description of the reply value for one of the resource's operations, ornullif there is no description.- Specified by:
getOperationReplyDescriptionin interfaceResourceDescriptionResolver- Overrides:
getOperationReplyDescriptionin classStandardResourceDescriptionResolver- Parameters:
operationName- the name of the operationlocale- the localebundle- a resource bundle previously obtained from a call toResourceDescriptionResolver.getResourceBundle(java.util.Locale), ornullif that call returnednull- Returns:
- the localized description , or
null
-
getOperationReplyValueTypeDescription
public String getOperationReplyValueTypeDescription(String operationName, Locale locale, ResourceBundle bundle, String... suffixes) Description copied from class:StandardResourceDescriptionResolverGets the description of a portion of a complex value type of the reply value for one of the resource's operations, ornullif there is no description.- Specified by:
getOperationReplyValueTypeDescriptionin interfaceResourceDescriptionResolver- Overrides:
getOperationReplyValueTypeDescriptionin classStandardResourceDescriptionResolver- Parameters:
operationName- the name of the operationlocale- the localebundle- a resource bundle previously obtained from a call toResourceDescriptionResolver.getResourceBundle(java.util.Locale), ornullif that call returnednullsuffixes- suffixes to dot-append to the base attribute key to generate a key- Returns:
- the localized description , or
null
-
getChildTypeDescription
Description copied from class:StandardResourceDescriptionResolverGets the description of one of the resource's child types.- Specified by:
getChildTypeDescriptionin interfaceResourceDescriptionResolver- Overrides:
getChildTypeDescriptionin classStandardResourceDescriptionResolver- Parameters:
childType- the name of the child typelocale- the localebundle- a resource bundle previously obtained from a call toResourceDescriptionResolver.getResourceBundle(java.util.Locale), ornullif that call returnednull- Returns:
- the localized description
-
getResourceDeprecatedDescription
Description copied from class:StandardResourceDescriptionResolverGets the description of the resource.- Specified by:
getResourceDeprecatedDescriptionin interfaceResourceDescriptionResolver- Overrides:
getResourceDeprecatedDescriptionin classStandardResourceDescriptionResolver- Parameters:
locale- the localebundle- a resource bundle previously obtained from a call toResourceDescriptionResolver.getResourceBundle(java.util.Locale), ornullif that call returnednull- Returns:
- the localized description
-
getResourceAttributeDeprecatedDescription
public String getResourceAttributeDeprecatedDescription(String attributeName, Locale locale, ResourceBundle bundle) Description copied from class:StandardResourceDescriptionResolverGets the description of one of the resource's attributes.- Specified by:
getResourceAttributeDeprecatedDescriptionin interfaceResourceDescriptionResolver- Overrides:
getResourceAttributeDeprecatedDescriptionin classStandardResourceDescriptionResolver- Parameters:
attributeName- the name of the attributelocale- the localebundle- a resource bundle previously obtained from a call toResourceDescriptionResolver.getResourceBundle(java.util.Locale), ornullif that call returnednull- Returns:
- the localized description
-
getOperationDeprecatedDescription
public String getOperationDeprecatedDescription(String operationName, Locale locale, ResourceBundle bundle) Description copied from class:StandardResourceDescriptionResolverGets the description of one of the resource's operations.- Specified by:
getOperationDeprecatedDescriptionin interfaceResourceDescriptionResolver- Overrides:
getOperationDeprecatedDescriptionin classStandardResourceDescriptionResolver- Parameters:
operationName- the name of the operationlocale- the localebundle- a resource bundle previously obtained from a call toResourceDescriptionResolver.getResourceBundle(java.util.Locale), ornullif that call returnednull- Returns:
- the localized description
-
getOperationParameterDeprecatedDescription
public String getOperationParameterDeprecatedDescription(String operationName, String paramName, Locale locale, ResourceBundle bundle) Description copied from class:StandardResourceDescriptionResolverGets the description of one of the resource's operation's parameters.- Specified by:
getOperationParameterDeprecatedDescriptionin interfaceResourceDescriptionResolver- Overrides:
getOperationParameterDeprecatedDescriptionin classStandardResourceDescriptionResolver- Parameters:
operationName- the name of the operationparamName- the name of the operation's parameterlocale- the localebundle- a resource bundle previously obtained from a call toResourceDescriptionResolver.getResourceBundle(java.util.Locale), ornullif that call returnednull- Returns:
- the localized description
-
getChildResolver
- Overrides:
getChildResolverin classStandardResourceDescriptionResolver
-
INSTANCEinstead