public class StatefulSessionComponentInstance extends SessionBeanComponentInstance implements Cacheable<org.jboss.ejb.client.SessionID>
INSTANCE_KEY| Modifier | Constructor and Description |
|---|---|
protected |
StatefulSessionComponentInstance(StatefulSessionComponent component,
AtomicReference<ManagedReference> instanceReference,
org.jboss.invocation.Interceptor preDestroyInterceptor,
Map<Method,org.jboss.invocation.Interceptor> methodInterceptors,
org.jboss.invocation.InterceptorFactoryContext factoryContext)
Construct a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
afterBegin() |
protected void |
afterCompletion(boolean committed) |
protected void |
beforeCompletion() |
void |
discard() |
StatefulSessionComponent |
getComponent()
Get the component associated with this instance.
|
org.jboss.invocation.Interceptor |
getEjb2XRemoveInterceptor() |
org.jboss.ejb.client.SessionID |
getId()
The object identifier.
|
Map<Object,Object> |
getSerializableInterceptors() |
boolean |
isModified()
Gets whether this object's internal state has been modified since
the last request to this method.
|
protected void |
postActivate() |
protected void |
prePassivate() |
void |
setSerializableInterceptors(Map<Object,Object> serializableInterceptors) |
String |
toString() |
Object |
writeReplace() |
getEjbContextisDiscardedallowedMethods, destroy, getInstance, getInstanceReference, getInterceptor, preDestroy, prepareInterceptorContextprotected StatefulSessionComponentInstance(StatefulSessionComponent component, AtomicReference<ManagedReference> instanceReference, org.jboss.invocation.Interceptor preDestroyInterceptor, Map<Method,org.jboss.invocation.Interceptor> methodInterceptors, org.jboss.invocation.InterceptorFactoryContext factoryContext)
component - the componentprotected void afterBegin()
protected void afterCompletion(boolean committed)
protected void beforeCompletion()
protected void prePassivate()
protected void postActivate()
public void discard()
discard in class EjbComponentInstancepublic void setSerializableInterceptors(Map<Object,Object> serializableInterceptors)
public StatefulSessionComponent getComponent()
BasicComponentInstancegetComponent in interface ComponentInstancegetComponent in class SessionBeanComponentInstancepublic boolean isModified()
Cacheable
Implementations must be aggressive about returning true if
they are uncertain about whether they have been modified; false
should only be returned if the implementing object is certain its
internal state has not been modified.
isModified in interface Cacheable<org.jboss.ejb.client.SessionID>true if the state has been modified or the
implementing object does not know; false otherwise.public org.jboss.ejb.client.SessionID getId()
IdentifiablegetId in interface Identifiable<org.jboss.ejb.client.SessionID>getId in class SessionBeanComponentInstancepublic org.jboss.invocation.Interceptor getEjb2XRemoveInterceptor()
public Object writeReplace() throws ObjectStreamException
ObjectStreamExceptionCopyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.