Class ServletContextAttribute

java.lang.Object
org.jboss.as.web.common.ServletContextAttribute

public class ServletContextAttribute extends Object
Configuration object used to store a ServletContext attribute name and value.
Author:
John Bailey
  • Field Details

    • ATTACHMENT_KEY

      public static final org.jboss.as.server.deployment.AttachmentKey<org.jboss.as.server.deployment.AttachmentList<ServletContextAttribute>> ATTACHMENT_KEY
  • Constructor Details

    • ServletContextAttribute

      public ServletContextAttribute(String name, Object value)
      Create a new instance.
      Parameters:
      name - The attribute name
      value - The attribute valule
  • Method Details

    • getName

      public String getName()
      Get the attribute name.
      Returns:
      the attribute name
    • getValue

      public Object getValue()
      Get the attribute value.
      Returns:
      the attribute value