Package org.jboss.as.ee.component
Class ComponentClientInstance
- java.lang.Object
-
- org.jboss.as.ee.component.ComponentClientInstance
-
- All Implemented Interfaces:
Serializable
public class ComponentClientInstance extends Object implements Serializable
Class that represents an instance of a component client. It should only be referenced from client post construct interceptors. This stores all the context data for the client, such as the SFSB session ID etc. Previously this was achieved using stateful interceptor chains. This information can only be set during view construction for thread safety reasons. If mutable data is required then a mutable and thread safe structure should be inserted into the map at construction time. The class is only used at component creation time, after that the information that is contains is attached to the private data of the interceptor context.- Author:
- Stuart Douglas
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ComponentClientInstance()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
getViewInstanceData(Object key)
void
setViewInstanceData(Object key, Object data)
-