Package org.jboss.as.web.common
Class ServletContextAttribute
java.lang.Object
org.jboss.as.web.common.ServletContextAttribute
Configuration object used to store a
ServletContext attribute name and value.- Author:
- John Bailey
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final org.jboss.as.server.deployment.AttachmentKey<org.jboss.as.server.deployment.AttachmentList<ServletContextAttribute>> -
Constructor Summary
Constructors -
Method Summary
-
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
Create a new instance.- Parameters:
name- The attribute namevalue- The attribute valule
-
-
Method Details
-
getName
Get the attribute name.- Returns:
- the attribute name
-
getValue
Get the attribute value.- Returns:
- the attribute value
-