Class DefaultApplicationAdapter

    • Constructor Summary

      Constructors 
      Constructor Description
      DefaultApplicationAdapter​(java.lang.String basePath, java.lang.ClassLoader classLoader)
      Instantiates a new DefaultApplicationAdapter.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      <T> T getAttribute​(java.lang.String name)
      Returns the value for an attribute with the given name.
      java.util.Enumeration<java.lang.String> getAttributeNames()
      Returns an Enumeration containing the names of the attributes available to this application.
      void removeAttribute​(java.lang.String name)
      Removes an attribute set with the given name.
      void setAttribute​(java.lang.String name, java.lang.Object value)
      Sets the value for the attribute of the given name, replacing an existing value (if any).
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DefaultApplicationAdapter

        public DefaultApplicationAdapter​(java.lang.String basePath,
                                         java.lang.ClassLoader classLoader)
        Instantiates a new DefaultApplicationAdapter.
    • Method Detail

      • getAttribute

        public <T> T getAttribute​(java.lang.String name)
        Description copied from interface: ApplicationAdapter
        Returns the value for an attribute with the given name.
        Type Parameters:
        T - the value type
        Parameters:
        name - the name of the attribute
        Returns:
        the value for the attribute
      • setAttribute

        public void setAttribute​(java.lang.String name,
                                 java.lang.Object value)
        Description copied from interface: ApplicationAdapter
        Sets the value for the attribute of the given name, replacing an existing value (if any).
        Parameters:
        name - the name of the attribute
        value - the value for the attribute
      • getAttributeNames

        public java.util.Enumeration<java.lang.String> getAttributeNames()
        Description copied from interface: ApplicationAdapter
        Returns an Enumeration containing the names of the attributes available to this application.
        Returns:
        the attribute names
      • removeAttribute

        public void removeAttribute​(java.lang.String name)
        Description copied from interface: ApplicationAdapter
        Removes an attribute set with the given name.
        Parameters:
        name - the name of the attribute to be removed