| java.lang.Object org.mockejb.BasicEjbDescriptor
All known Subclasses: org.mockejb.EntityBeanDescriptor, org.mockejb.MDBDescriptor, org.mockejb.SessionBeanDescriptor,
BasicEjbDescriptor | abstract public class BasicEjbDescriptor implements Serializable(Code) | | Provides the information that MockEJB needs to "deploy" this EJB. This
includes classes of EJB Home, business interface and implementation.
MockContainer uses this data to create dynamic proxies acting as Home
and EJBObject.
This is the base class for concrete MDB, Session and Entity Descriptor implementations.
author: Alexander Ananiev |
BasicEjbDescriptor | public BasicEjbDescriptor(String jndiName, Class homeClass, Class ifaceClass, Class beanClass)(Code) | | Creates a new instance of the descriptor.
Parameters: jndiName - jndiName to bind Home to. Note that MockEjb does not supportbean-scoped context, so this name must be unique. Parameters: homeClass - class of the home interface Parameters: ifaceClass - class of the business interface, remote or local Parameters: beanClass - class of the implementation class |
BasicEjbDescriptor | public BasicEjbDescriptor(String jndiName, Class homeClass, Class ifaceClass, Object bean)(Code) | | Creates a new instance of the descriptor.
Parameters: jndiName - jndiName to bind Home to. Note that MockEjb does not supportbean-scoped context, so this name must be unique. Parameters: homeClass - class of the home interface Parameters: ifaceClass - class of the business interface, remote or local Parameters: bean - instance of a bean implementation class. |
|
|