com.ibm.websphere.webmsg.publisher.servlet
Class ServletPublishContext
- java.lang.Object
com.ibm.websphere.webmsg.publisher.servlet.ServletPublishContext
All implemented interfaces:
- public class ServletPublishContext
- extends java.lang.Object
- implements PublisherContext
See Also:
ServletContext
Constructor Summary
Constructor and Description |
---|
ServletPublishContext(javax.servlet.ServletContext ctx)
|
Method Summary
Modifier and Type | Method and Description |
---|---|
|
getAttribute(java.lang.String name)
|
|
setAttribute(java.lang.String name,java.lang.Object value)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail
ServletPublishContext
- public ServletPublishContext(javax.servlet.ServletContext ctx)
Method Detail
getAttribute
- public java.lang.Object getAttribute( java.lang.String name)
Returns an object value for the given key, or null if there is no value
for the given key.
Specified by:
getAttribute
in interface PublisherContext
Returns:
Given object for given key, or null if none found.
See Also:
setAttribute
- public void setAttribute(java.lang.String name,
- java.lang.Object value)
Description copied from interface:
PublisherContext
Sets the given context Object value for the given key.
Specified by:
setAttribute
in interface PublisherContext
PublisherContext