public class StatefulSessionComponentInstance extends SessionBeanComponentInstance implements Identifiable<org.jboss.ejb.client.SessionID>
INSTANCE_KEY
Modifier | Constructor and Description |
---|---|
protected |
StatefulSessionComponentInstance(StatefulSessionComponent component,
org.jboss.invocation.Interceptor preDestroyInterceptor,
Map<Method,org.jboss.invocation.Interceptor> methodInterceptors,
Map<Object,Object> context)
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.
|
Transaction |
getTransaction() |
protected void |
postActivate() |
protected void |
prePassivate() |
void |
setTransaction(Transaction transaction) |
String |
toString() |
Object |
writeReplace() |
getEjbContext
isDiscarded
allowedMethods, constructionFinished, destroy, getInstance, getInstanceData, getInterceptor, preDestroy, prepareInterceptorContext, setInstanceData
protected StatefulSessionComponentInstance(StatefulSessionComponent component, org.jboss.invocation.Interceptor preDestroyInterceptor, Map<Method,org.jboss.invocation.Interceptor> methodInterceptors, Map<Object,Object> context)
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 EjbComponentInstance
public StatefulSessionComponent getComponent()
BasicComponentInstance
getComponent
in interface ComponentInstance
getComponent
in class SessionBeanComponentInstance
public org.jboss.ejb.client.SessionID getId()
Identifiable
getId
in interface Identifiable<org.jboss.ejb.client.SessionID>
getId
in class SessionBeanComponentInstance
public org.jboss.invocation.Interceptor getEjb2XRemoveInterceptor()
public Object writeReplace() throws ObjectStreamException
ObjectStreamException
public Transaction getTransaction()
public void setTransaction(Transaction transaction)
Copyright © 2014 JBoss by Red Hat. All rights reserved.