com.ibm.websphere.webmsg.publisher
Interface PublisherContext

All Known Implementing Classes:
ServletPublishContext

public interface PublisherContext

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


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

Method Detail

setAttribute

void setAttribute(java.lang.String name,
                  java.lang.Object value)
Sets the given context Object value for the given key.

Parameters:
name -
value -

getAttribute

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.