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 EJBMetaData
public Class<?> getHomeInterfaceClass()
Class
object for the enterprise Bean's home
interface.getHomeInterfaceClass
in interface EJBMetaData
public Class<?> getRemoteInterfaceClass()
Class
object for the enterprise Bean's remote
interface.getRemoteInterfaceClass
in interface EJBMetaData
public Class<?> getPrimaryKeyClass()
Class
object for the enterprise Bean's primary
key class.getPrimaryKeyClass
in interface EJBMetaData
public boolean isSession()
isSession
in interface EJBMetaData
public boolean isStatelessSession()
isStatelessSession
in interface EJBMetaData
Copyright © 2016 JBoss by Red Hat. All rights reserved.