public class EntityBeanDescriptor extends BasicEjbDescriptor
isCMP
flag.Constructor and Description |
---|
EntityBeanDescriptor(java.lang.String jndiName,
java.lang.Class homeClass,
java.lang.Class ifaceClass,
java.lang.Class beanClass)
Creates a new instance of the descriptor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isCMP()
Returns true if this descriptor is for CMP entity bean,
i.e., abstract bean class was passed to the constructor
|
getBean, getBeanClass, getHomeClass, getIfaceClass, getJndiName
public EntityBeanDescriptor(java.lang.String jndiName, java.lang.Class homeClass, java.lang.Class ifaceClass, java.lang.Class beanClass)
jndiName
- jndiName to bind Home tohomeClass
- class of the home interfaceifaceClass
- class of the business interface, remote or localbeanClass
- class of the implementation class, can be the abstract class
in case of CMP