public final class EJBMetaDataImpl extends Object implements EJBMetaData, Serializable
| Constructor and Description |
|---|
EJBMetaDataImpl(Class<?> remoteClass,
Class<?> homeClass,
Class<?> pkClass,
boolean session,
boolean statelessSession,
EJBHome home) |
| Modifier and Type | Method and Description |
|---|---|
EJBHome |
getEJBHome()
Obtains the home interface of the enterprise Bean.
|
Class<?> |
getHomeInterfaceClass()
Obtains the
Class object for the enterprise Bean's home
interface. |
Class<?> |
getPrimaryKeyClass()
Obtains the
Class object for the enterprise Bean's primary
key class. |
Class<?> |
getRemoteInterfaceClass()
Obtains the
Class object for the enterprise Bean's remote
interface. |
boolean |
isSession()
Tests if the enterprise Bean's type is "session".
|
boolean |
isStatelessSession()
Tests if the enterprise Bean's type is "stateless session".
|
public EJBHome getEJBHome()
getEJBHome in interface EJBMetaDatapublic Class<?> getHomeInterfaceClass()
Class object for the enterprise Bean's home
interface.getHomeInterfaceClass in interface EJBMetaDatapublic Class<?> getRemoteInterfaceClass()
Class object for the enterprise Bean's remote
interface.getRemoteInterfaceClass in interface EJBMetaDatapublic Class<?> getPrimaryKeyClass()
Class object for the enterprise Bean's primary
key class.getPrimaryKeyClass in interface EJBMetaDatapublic boolean isSession()
isSession in interface EJBMetaDatapublic boolean isStatelessSession()
isStatelessSession in interface EJBMetaDataCopyright © 2016 JBoss by Red Hat. All rights reserved.