Class StatefulEJBMetaData<T extends jakarta.ejb.EJBObject,H extends jakarta.ejb.EJBHome>

java.lang.Object
org.jboss.ejb.client.AbstractEJBMetaData<T,H>
org.jboss.ejb.client.StatefulEJBMetaData<T,H>
Type Parameters:
T - the remote interface type
H - the home interface type
All Implemented Interfaces:
jakarta.ejb.EJBMetaData, Serializable

public final class StatefulEJBMetaData<T extends jakarta.ejb.EJBObject,H extends jakarta.ejb.EJBHome> extends AbstractEJBMetaData<T,H>
EJB metadata for stateful EJBs.
Author:
David M. Lloyd
See Also:
  • Constructor Details

    • StatefulEJBMetaData

      public StatefulEJBMetaData(Class<T> remoteInterfaceClass, EJBHomeLocator<H> homeLocator)
      Construct a new instance.
      Parameters:
      remoteInterfaceClass - the remote interface class
      homeLocator - the EJB home locator
  • Method Details

    • create

      public static <T extends jakarta.ejb.EJBObject, H extends jakarta.ejb.EJBHome> StatefulEJBMetaData<T,H> create(Class<T> remoteInterfaceClass, EJBHomeLocator<H> homeLocator)
      Construct a new instance.
      Type Parameters:
      T - the remote interface type
      H - the home interface type
      Parameters:
      remoteInterfaceClass - the remote interface class (must not be null)
      homeLocator - the EJB home locator (must not be null)
      Returns:
      the new instance (not null)