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

    • Constructor Detail

      • EntityEJBMetaData

        public EntityEJBMetaData​(Class<T> remoteInterfaceClass,
                                 EJBHomeLocator<H> homeLocator,
                                 Class<?> primaryKeyClass)
        Construct a new instance.
        Parameters:
        remoteInterfaceClass - the remote interface class
        homeLocator - the EJB home locator
        primaryKeyClass - the primary key class
    • Method Detail

      • create

        public static <T extends EJBObject,​H extends EJBHomeEntityEJBMetaData<T,​H> create​(Class<T> remoteInterfaceClass,
                                                                                                        EJBHomeLocator<H> homeLocator,
                                                                                                        Class<?> primaryKeyClass)
        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)
        primaryKeyClass - the primary key class (must not be null)
        Returns:
        the new instance (not null)