Class ServletContextAttribute


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

      • ATTACHMENT_KEY

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

      • ServletContextAttribute

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

      • getName

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

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