org.jboss.weld.context.beanstore.ejb
Class InvocationContextBeanStore

java.lang.Object
  extended by org.jboss.weld.context.beanstore.AttributeBeanStore
      extended by org.jboss.weld.context.beanstore.ejb.InvocationContextBeanStore
All Implemented Interfaces:
Iterable<String>, BeanStore, BoundBeanStore

public class InvocationContextBeanStore
extends AttributeBeanStore


Constructor Summary
InvocationContextBeanStore(NamingScheme namingScheme, javax.interceptor.InvocationContext ctx)
           
 
Method Summary
protected  Object getAttribute(String prefixedId)
          Gets an attribute from the underlying storage
protected  Collection<String> getAttributeNames()
          Gets an enumeration of the attribute names present in the underlying storage
 LockStore getLockStore()
           
protected  void removeAttribute(String prefixedId)
          Removes an attribute from the underlying storage
protected  void setAttribute(String prefixedId, Object instance)
          Sets an instance under a key in the underlying storage
 
Methods inherited from class org.jboss.weld.context.beanstore.AttributeBeanStore
attach, clear, contains, detach, get, getNamingScheme, getPrefixedAttributeNames, isAttached, iterator, lock, put
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InvocationContextBeanStore

public InvocationContextBeanStore(NamingScheme namingScheme,
                                  javax.interceptor.InvocationContext ctx)
Method Detail

getAttribute

protected Object getAttribute(String prefixedId)
Description copied from class: AttributeBeanStore
Gets an attribute from the underlying storage

Specified by:
getAttribute in class AttributeBeanStore
Parameters:
prefixedId - The (prefixed) id of the attribute
Returns:
The data

removeAttribute

protected void removeAttribute(String prefixedId)
Description copied from class: AttributeBeanStore
Removes an attribute from the underlying storage

Specified by:
removeAttribute in class AttributeBeanStore
Parameters:
prefixedId - The (prefixed) id of the attribute to remove

getAttributeNames

protected Collection<String> getAttributeNames()
Description copied from class: AttributeBeanStore
Gets an enumeration of the attribute names present in the underlying storage

Specified by:
getAttributeNames in class AttributeBeanStore
Returns:
The attribute names

setAttribute

protected void setAttribute(String prefixedId,
                            Object instance)
Description copied from class: AttributeBeanStore
Sets an instance under a key in the underlying storage

Specified by:
setAttribute in class AttributeBeanStore
Parameters:
prefixedId - The (prefixed) id of the attribute to set
instance - The instance

getLockStore

public LockStore getLockStore()
Specified by:
getLockStore in class AttributeBeanStore


Copyright © 2013 Seam Framework. All Rights Reserved.