com.webify.fabric.engine.extension
Interface SessionAccess


public interface SessionAccess

Version:
$Id: $
Author:
dranatunga

Method Summary
 java.lang.Object getKeyedProperty(java.lang.String name)
           
 java.lang.Object getMessageProperty(java.lang.String name)
           
 java.lang.Object getStoredProperty(java.lang.Object name)
           
 java.lang.Object getTransientProperty(java.lang.Object name)
          Gets values stored using setTransientProperty(Object, Object) within this session.
 void setContextIdentifier(java.lang.String identifier)
           
 void setKeyedProperty(java.lang.String name, java.lang.Object value)
           
 void setStoredProperty(java.lang.Object name, java.lang.Object value)
           
 void setTransientProperty(java.lang.Object name, java.lang.Object value)
          Stores values for use downstream within the scope of this session.
 

Method Detail

getMessageProperty

java.lang.Object getMessageProperty(java.lang.String name)
                                    throws java.lang.SecurityException
Throws:
java.lang.SecurityException

setContextIdentifier

void setContextIdentifier(java.lang.String identifier)
                          throws java.lang.IllegalStateException,
                                 java.lang.SecurityException
Throws:
java.lang.IllegalStateException
java.lang.SecurityException

setKeyedProperty

void setKeyedProperty(java.lang.String name,
                      java.lang.Object value)
                      throws java.lang.IllegalStateException,
                             java.io.NotSerializableException,
                             java.lang.SecurityException
Throws:
java.lang.IllegalStateException
java.io.NotSerializableException
java.lang.SecurityException

getKeyedProperty

java.lang.Object getKeyedProperty(java.lang.String name)
                                  throws java.lang.SecurityException
Throws:
java.lang.SecurityException

setStoredProperty

void setStoredProperty(java.lang.Object name,
                       java.lang.Object value)
                       throws java.lang.IllegalStateException,
                              java.io.NotSerializableException,
                              java.lang.SecurityException
Throws:
java.lang.IllegalStateException
java.io.NotSerializableException
java.lang.SecurityException

getStoredProperty

java.lang.Object getStoredProperty(java.lang.Object name)
                                   throws java.lang.SecurityException
Throws:
java.lang.SecurityException

setTransientProperty

void setTransientProperty(java.lang.Object name,
                          java.lang.Object value)
                          throws java.lang.IllegalStateException,
                                 java.lang.SecurityException
Stores values for use downstream within the scope of this session. Name-value pairs stored using this API are not maintained in cache. Therefore, this method is typically used in the context-building phase (as that phase is always run).

Throws:
java.lang.IllegalStateException - if a value for name already exists.
java.lang.SecurityException - if the current component is not allowed to write the property being written.

getTransientProperty

java.lang.Object getTransientProperty(java.lang.Object name)
                                      throws java.lang.SecurityException
Gets values stored using setTransientProperty(Object, Object) within this session. Data stored in former sessions under this context is not available.
Known usages

Throws:
java.lang.SecurityException


Copyright © 2002-2009 IBM. All Rights Reserved.