Class DefaultApplicationAdapter

java.lang.Object
com.aspectran.core.adapter.AbstractApplicationAdapter
com.aspectran.core.adapter.DefaultApplicationAdapter
All Implemented Interfaces:
ApplicationAdapter

public class DefaultApplicationAdapter extends AbstractApplicationAdapter
The Class DefaultApplicationAdapter.
Since:
2016. 3. 26.
  • Constructor Details

    • DefaultApplicationAdapter

      public DefaultApplicationAdapter(String basePath)
      Instantiates a new DefaultApplicationAdapter.
  • Method Details

    • getAttribute

      public <T> T getAttribute(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(String name, 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 Enumeration<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(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