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

    • Constructor Detail

      • StatelessEJBMetaData

        public StatelessEJBMetaData​(Class<T> remoteInterfaceClass,
                                    EJBHomeLocator<H> homeLocator)
        Construct a new instance.
        Parameters:
        remoteInterfaceClass - the remote interface class
        homeLocator - the Enterprise Beans home locator
    • Method Detail

      • create

        public static <T extends EJBObject,​H extends EJBHomeStatelessEJBMetaData<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 Enterprise Beans home locator (must not be null)
        Returns:
        the new instance (not null)