Class StatefulSessionComponentInstance

java.lang.Object
org.jboss.as.ee.component.BasicComponentInstance
All Implemented Interfaces:
Serializable, org.jboss.as.ee.component.ComponentInstance, StatefulSessionBeanInstance<org.jboss.ejb.client.SessionID>, org.wildfly.clustering.ejb.bean.BeanInstance<org.jboss.ejb.client.SessionID>

public class StatefulSessionComponentInstance extends SessionBeanComponentInstance implements StatefulSessionBeanInstance<org.jboss.ejb.client.SessionID>
Author:
Carlo de Wolf
See Also:
  • Field Details

    • SYNC_STATE_NO_INVOCATION

      public static final int SYNC_STATE_NO_INVOCATION
      See Also:
    • SYNC_STATE_INVOCATION_IN_PROGRESS

      public static final int SYNC_STATE_INVOCATION_IN_PROGRESS
      See Also:
    • SYNC_STATE_AFTER_COMPLETE_DELAYED_NO_COMMIT

      public static final int SYNC_STATE_AFTER_COMPLETE_DELAYED_NO_COMMIT
      See Also:
    • SYNC_STATE_AFTER_COMPLETE_DELAYED_COMMITTED

      public static final int SYNC_STATE_AFTER_COMPLETE_DELAYED_COMMITTED
      See Also:
  • Constructor Details

    • StatefulSessionComponentInstance

      protected StatefulSessionComponentInstance(StatefulSessionComponent component, org.jboss.invocation.Interceptor preDestroyInterceptor, Map<Method,org.jboss.invocation.Interceptor> methodInterceptors, Map<Object,Object> context)
      Construct a new instance.
      Parameters:
      component - the component
  • Method Details

    • afterBegin

      protected void afterBegin()
    • afterCompletion

      protected void afterCompletion(boolean committed)
    • beforeCompletion

      protected void beforeCompletion()
    • prePassivate

      public void prePassivate()
      Specified by:
      prePassivate in interface org.wildfly.clustering.ejb.bean.BeanInstance<org.jboss.ejb.client.SessionID>
    • postActivate

      public void postActivate()
      Specified by:
      postActivate in interface org.wildfly.clustering.ejb.bean.BeanInstance<org.jboss.ejb.client.SessionID>
    • getComponent

      public StatefulSessionComponent getComponent()
      Specified by:
      getComponent in interface org.jboss.as.ee.component.ComponentInstance
      Overrides:
      getComponent in class SessionBeanComponentInstance
    • getId

      public org.jboss.ejb.client.SessionID getId()
      Specified by:
      getId in interface org.wildfly.clustering.ejb.bean.BeanInstance<org.jboss.ejb.client.SessionID>
      Specified by:
      getId in class SessionBeanComponentInstance
    • getEjb2XRemoveInterceptor

      public org.jboss.invocation.Interceptor getEjb2XRemoveInterceptor()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • writeReplace

      public Object writeReplace() throws ObjectStreamException
      Throws:
      ObjectStreamException
    • getTransaction

      public jakarta.transaction.Transaction getTransaction()
    • setTransaction

      public void setTransaction(jakarta.transaction.Transaction transaction)
    • removed

      public void removed()
      Description copied from interface: StatefulSessionBeanInstance
      Indicates that this bean instance was removed from its cache.
      Specified by:
      removed in interface StatefulSessionBeanInstance<org.jboss.ejb.client.SessionID>