com.ibm.websphere.webmsg.publisher

Interface PublisherContext

All known implementing classes:
ServletPublishContext

  1. public interface PublisherContext
Interface defining context in which the given Publisher is running. May be backed (for example) by a ServletContext

Method Summary

Modifier and Type Method and Description
  1. 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.
  1. void
setAttribute(java.lang.String name,java.lang.Object value)
Sets the given context Object value for the given key.

Method Detail

setAttribute

  1. void setAttribute(java.lang.String name,
  2. java.lang.Object value)
Sets the given context Object value for the given key.
Parameters:
name -
value -

getAttribute

  1. 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.
Parameters:
name -
Returns:
Given object for given key, or null if none found.