Class StatefulEJBMetaData<T extends EJBObject,​H extends EJBHome>

    • Constructor Detail

      • 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 Detail

      • create

        public static <T extends EJBObject,​H extends EJBHomeStatefulEJBMetaData<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)