T - the remote interface typeH - the home interface typepublic final class StatelessEJBMetaData<T extends EJBObject,H extends EJBHome> extends AbstractEJBMetaData<T,H>
| Constructor and Description |
|---|
StatelessEJBMetaData(Class<T> remoteInterfaceClass,
EJBHomeLocator<H> homeLocator)
Construct a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
static <T extends EJBObject,H extends EJBHome> |
create(Class<T> remoteInterfaceClass,
EJBHomeLocator<H> homeLocator)
Construct a new instance.
|
boolean |
isStatelessSession()
Determine whether this EJB metadata refers to a stateless session EJB.
|
getEJBHome, getHomeInterfaceClass, getHomeLocator, getPrimaryKeyClass, getRemoteInterfaceClass, isSessionpublic StatelessEJBMetaData(Class<T> remoteInterfaceClass, EJBHomeLocator<H> homeLocator)
remoteInterfaceClass - the remote interface classhomeLocator - the EJB home locatorpublic static <T extends EJBObject,H extends EJBHome> StatelessEJBMetaData<T,H> create(Class<T> remoteInterfaceClass, EJBHomeLocator<H> homeLocator)
T - the remote interface typeH - the home interface typeremoteInterfaceClass - the remote interface class (must not be null)homeLocator - the EJB home locator (must not be null)null)public boolean isStatelessSession()
AbstractEJBMetaDataisStatelessSession in interface EJBMetaDataisStatelessSession in class AbstractEJBMetaData<T extends EJBObject,H extends EJBHome>true if the EJB is a stateless session EJB, false otherwiseCopyright © 2019 JBoss by Red Hat. All rights reserved.