Package org.analogweb

Interface ApplicationContext

  • All Known Implementing Classes:
    DefaultApplicationContext

    public interface ApplicationContext
    Context of application.
    Author:
    snowgoose
    • Method Detail

      • getAttribute

        <T> T getAttribute​(Class<T> requiredType,
                           String contextKey)
        Obtain application scoped attributes.
        Parameters:
        requiredType - Type of attribute value.
        contextKey - Key of attribute value.
        Returns:
        Attribute value.