org.eclipse.jst.j2ee.common
Interface EJBLocalRef
- All Superinterfaces:
- EjbRef, J2EEEObject
- public interface EJBLocalRef
- extends EjbRef
The ejb-local-ref element is used for the declaration of a reference to another enterprise bean's local home. The declaration consists of an optional description; the EJB reference name used in the code of the referencing enterprise bean; the expected type of the referenced enterprise bean; the expected local home and local interfaces of the referenced enterprise bean; and an optional ejb-link information. The optional ejb-link element is used to specify the referenced enterprise bean.
Used in: entity, session, message-driven
- Since:
- 1.0
Methods inherited from interface org.eclipse.jst.j2ee.common.EjbRef |
getDescription, getDescriptions, getHome, getLink, getLinkedEjb, getName, getRemote, getType, isEquivalent, isLinked, isLocal, isSetType, setDescription, setHome, setLink, setName, setRemote, setType, unsetType |
getLocal
public java.lang.String getLocal()
- Returns:
- The value of the Local attribute
The Local element contains the fully-qualified name of the enterprise bean's local interface.
getLocalHome
public java.lang.String getLocalHome()
- Returns:
- The value of the localHome attribute
The local home element contains the fully-qualified name of the enterprise bean's local home interface.
Example: com.aardvark.payroll.PayrollHome/home>
setLocal
public void setLocal(java.lang.String value)
- Parameters:
value
- The new value of the local attribute
setLocalHome
public void setLocalHome(java.lang.String value)
- Parameters:
value
- The new value of the localHome attribute