org.jboss.as.ee.component.ComponentClientInstance Maven / Gradle / Ivy
/*
* Copyright The WildFly Authors
* SPDX-License-Identifier: Apache-2.0
*/
package org.jboss.as.ee.component;
import org.jboss.as.ee.logging.EeLogger;
import org.jboss.invocation.InterceptorContext;
import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;
/**
* 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
*/
public class ComponentClientInstance implements Serializable {
private final Map
© 2015 - 2025 Weber Informatics LLC | Privacy Policy