Tabnine Logo
SuperProperties.getAttributes
Code IndexAdd Tabnine to your IDE (free)

How to use
getAttributes
method
in
org.apache.openejb.util.SuperProperties

Best Java code snippets using org.apache.openejb.util.SuperProperties.getAttributes (Showing top 6 results out of 315)

origin: org.apache.geronimo.ext.openejb/openejb-core

/**
 * Searches for the attributes associated with the specified property. If the property is not found, look
 * in the default properties. If the property is not found in the default properties, answer null.
 *
 * @param name the name of the property to find
 * @return the attributes for an existing property (not null); null for non-existant properties
 */
public Map<String,String> getAttributes(String name) {
  if (name == null) throw new NullPointerException("name is null");
  name = normalize(name);
  Map<String, String> attributes = this.attributes.get(name);
  if (attributes == null && defaults instanceof SuperProperties) {
    attributes = ((SuperProperties) defaults).getAttributes(name);
  }
  return attributes;
}
origin: org.apache.openejb/openejb-core

/**
 * Searches for the attributes associated with the specified property. If the property is not found, look
 * in the default properties. If the property is not found in the default properties, answer null.
 *
 * @param name the name of the property to find
 * @return the attributes for an existing property (not null); null for non-existant properties
 */
public Map<String, String> getAttributes(String name) {
  if (name == null) {
    throw new NullPointerException("name is null");
  }
  name = normalize(name);
  Map<String, String> attributes = this.attributes.get(name);
  if (attributes == null && defaults instanceof SuperProperties) {
    attributes = ((SuperProperties) defaults).getAttributes(name);
  }
  return attributes;
}
origin: org.apache.tomee/openejb-core

/**
 * Searches for the attributes associated with the specified property. If the property is not found, look
 * in the default properties. If the property is not found in the default properties, answer null.
 *
 * @param name the name of the property to find
 * @return the attributes for an existing property (not null); null for non-existant properties
 */
public Map<String, String> getAttributes(String name) {
  if (name == null) {
    throw new NullPointerException("name is null");
  }
  name = normalize(name);
  Map<String, String> attributes = this.attributes.get(name);
  if (attributes == null && defaults instanceof SuperProperties) {
    attributes = ((SuperProperties) defaults).getAttributes(name);
  }
  return attributes;
}
origin: org.apache.tomee/openejb-core

final String name = (String) key;
final Map<String, String> attributes = properties.getAttributes(name);
origin: org.apache.openejb/openejb-core

final String name = (String) key;
final Map<String, String> attributes = properties.getAttributes(name);
origin: org.apache.geronimo.ext.openejb/openejb-core

String name = (String) key;
Map<String, String> attributes = properties.getAttributes(name);
if (!attributes.containsKey("hidden")) {
  String value = properties.getProperty(name);
org.apache.openejb.utilSuperPropertiesgetAttributes

Javadoc

Searches for the attributes associated with the specified property. If the property is not found, look in the default properties. If the property is not found in the default properties, answer null.

Popular methods of SuperProperties

  • <init>
    Constructs a new Properties object using the specified default properties.
  • caseInsensitive
  • entrySet
    Returns an unmodifiable view of the entries.
  • getProperty
  • putAll
  • containsKey
  • decodeEscapeChar
  • decodeNextCharacter
  • dumpComment
  • dumpString
  • get
  • getComment
    Searches for the comment associated with the specified property. If the property is not found, look
  • get,
  • getComment,
  • getDocumentBuilder,
  • isEmpty,
  • keySet,
  • keys,
  • normalize,
  • propertyNames,
  • put

Popular in Java

  • Updating database using SQL prepared statement
  • getExternalFilesDir (Context)
  • getContentResolver (Context)
  • scheduleAtFixedRate (Timer)
  • ObjectMapper (com.fasterxml.jackson.databind)
    ObjectMapper provides functionality for reading and writing JSON, either to and from basic POJOs (Pl
  • ConnectException (java.net)
    A ConnectException is thrown if a connection cannot be established to a remote host on a specific po
  • SortedMap (java.util)
    A map that has its keys ordered. The sorting is according to either the natural ordering of its keys
  • Pattern (java.util.regex)
    Patterns are compiled regular expressions. In many cases, convenience methods such as String#matches
  • ZipFile (java.util.zip)
    This class provides random read access to a zip file. You pay more to read the zip file's central di
  • Options (org.apache.commons.cli)
    Main entry-point into the library. Options represents a collection of Option objects, which describ
  • Top PhpStorm plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now