org.jboss.ejb3.stateful
Class NestedStatefulBeanContext
java.lang.Object
org.jboss.ejb3.BaseContext<T>
org.jboss.ejb3.session.SessionBeanContext<T>
org.jboss.ejb3.session.SessionSpecBeanContext<StatefulContainer>
org.jboss.ejb3.stateful.StatefulBeanContext
org.jboss.ejb3.stateful.NestedStatefulBeanContext
- All Implemented Interfaces:
- Externalizable, Serializable, org.jboss.ejb3.cache.Identifiable, org.jboss.ejb3.interceptors.container.BeanContext<Object>, org.jboss.ejb3.tx.container.StatefulBeanContext<Object>
public class NestedStatefulBeanContext
- extends StatefulBeanContext
- implements Externalizable
Overrides superclass to not use MarshalledValue in externalization,
as a nested context is meant to be serialized as part of its parent
context and to share with it object references to any XPC or managed
entities. Serializing with a MarshalledValue would result in separate
deserializations of the XPCs and managed entities.
- Version:
- $Revision: 73395 $
- Author:
- Bill Burke
- See Also:
- Serialized Form
Fields inherited from class org.jboss.ejb3.stateful.StatefulBeanContext |
beanMO, containedIn, containerClusterUid, containerGuid, contains, currentBean, discarded, id, inInvocation, isClustered, lastUsed, lock, markedForPassivation, markedForReplication, passivated, persistenceContexts, propagatedContainedIn, removed, replicationIsPassivation, txSynchronized |
Methods inherited from class org.jboss.ejb3.stateful.StatefulBeanContext |
activateAfterReplication, addContains, addExtendedPersistenceContext, equals, extractBeanAndInterceptors, getCanPassivate, getCanRemoveFromCache, getContainedIn, getContainer, getContains, getEJBContext, getExtendedPersistenceContext, getExtendedPersistenceContexts, getId, getInstance, getInterceptorInstances, getInvokedMethodKey, getLock, getMetaData, getReplicationIsPassivation, getUltimateContainedIn, hashCode, isDiscarded, isInInvocation, isInUse, isModified, isRemoved, isTxSynchronized, passivateAfterReplication, popContainedIn, postActivate, postReplicate, prePassivate, preReplicate, pushContainedIn, remove, removeContains, removeExtendedPersistenceContext, scanForExtendedPersistenceContext, setDiscarded, setInInvocation, setInUse, setReplicationIsPassivation, setTxSynchronized |
Methods inherited from interface org.jboss.ejb3.interceptors.container.BeanContext |
getInterceptor |
NestedStatefulBeanContext
public NestedStatefulBeanContext(StatefulContainer container,
Object bean)
NestedStatefulBeanContext
public NestedStatefulBeanContext()
- Only for externalization.
writeExternal
public void writeExternal(ObjectOutput out)
throws IOException
- Specified by:
writeExternal
in interface Externalizable
- Overrides:
writeExternal
in class StatefulBeanContext
- Throws:
IOException
readExternal
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
- Specified by:
readExternal
in interface Externalizable
- Overrides:
readExternal
in class StatefulBeanContext
- Throws:
IOException
ClassNotFoundException
Copyright © 2010 JBoss, a division of Red Hat, Inc.. All Rights Reserved.