| java.lang.Object org.mockejb.BasicEjbDescriptor org.mockejb.EntityBeanDescriptor
EntityBeanDescriptor | public class EntityBeanDescriptor extends BasicEjbDescriptor (Code) | | Contains entity bean-specific data used for EJB deployment.
Currently only has isCMP flag.
author: Alexander Ananiev |
Method Summary | |
public boolean | isCMP() |
EntityBeanDescriptor | public EntityBeanDescriptor(String jndiName, Class homeClass, Class ifaceClass, Class beanClass)(Code) | | Creates a new instance of the descriptor.
Parameters: jndiName - jndiName to bind Home to Parameters: homeClass - class of the home interface Parameters: ifaceClass - class of the business interface, remote or local Parameters: beanClass - class of the implementation class, can be the abstract classin case of CMP |
isCMP | public boolean isCMP()(Code) | | Returns true if this descriptor is for CMP entity bean,
i.e., abstract bean class was passed to the constructor
true if CMP, false if BMP |
|
|