public abstract class AbstractEJBMetaData<T extends EJBObject,H extends EJBHome> extends Object implements EJBMetaData, Serializable
Modifier and Type | Method and Description |
---|---|
H |
getEJBHome()
Get the EJB home interface.
|
Class<H> |
getHomeInterfaceClass()
Get the home interface class.
|
EJBHomeLocator<H> |
getHomeLocator()
Get the home locator for this metadata instance.
|
Class<?> |
getPrimaryKeyClass()
Get the primary key class.
|
Class<T> |
getRemoteInterfaceClass()
Get the remote interface class.
|
boolean |
isSession()
Determine whether this EJB metadata refers to a session EJB.
|
boolean |
isStatelessSession()
Determine whether this EJB metadata refers to a stateless session EJB.
|
public H getEJBHome()
getEJBHome
in interface EJBMetaData
public Class<T> getRemoteInterfaceClass()
getRemoteInterfaceClass
in interface EJBMetaData
public Class<H> getHomeInterfaceClass()
getHomeInterfaceClass
in interface EJBMetaData
public Class<?> getPrimaryKeyClass()
getPrimaryKeyClass
in interface EJBMetaData
public boolean isSession()
isSession
in interface EJBMetaData
true
if the EJB is a session EJB, false
otherwisepublic boolean isStatelessSession()
isStatelessSession
in interface EJBMetaData
true
if the EJB is a stateless session EJB, false
otherwisepublic EJBHomeLocator<H> getHomeLocator()
null
)Copyright © 2017 JBoss by Red Hat. All rights reserved.