com.ibm.websphere.webmsg.publisher.servlet

Class ServletPublishContext

  1. java.lang.Object
  2. extended bycom.ibm.websphere.webmsg.publisher.servlet.ServletPublishContext
All implemented interfaces:
PublisherContext

  1. public class ServletPublishContext
  2. extends java.lang.Object
  3. implements PublisherContext
Concrete context implementation backed by a ServletContext object.
See Also:
ServletContext

Constructor Summary

Constructor and Description
ServletPublishContext(javax.servlet.ServletContext ctx)

Method Summary

Modifier and Type Method and Description
  1. java.lang.Object
getAttribute(java.lang.String name)
  1. void
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

  1. public ServletPublishContext(javax.servlet.ServletContext ctx)

Method Detail

getAttribute

  1. public java.lang.Object getAttribute( java.lang.String name)
Description copied from interface: PublisherContext
Returns an object value for the given key, or null if there is no value for the given key.
Specified by:
Returns:
Given object for given key, or null if none found.
See Also:

setAttribute

  1. public void setAttribute(java.lang.String name,
  2. java.lang.Object value)
Description copied from interface: PublisherContext
Sets the given context Object value for the given key.
Specified by:
See Also: