Class ContextLocalEjb
- java.lang.Object
-
- org.apache.tomcat.util.descriptor.web.ResourceBase
-
- org.apache.tomcat.util.descriptor.web.ContextLocalEjb
-
- All Implemented Interfaces:
java.io.Serializable,Injectable
public class ContextLocalEjb extends ResourceBase
Representation of a local EJB resource reference for a web application, as represented in a<ejb-local-ref>element in the deployment descriptor.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ContextLocalEjb()Default constructor for ContextLocalEjb.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)java.lang.StringgetHome()Returns the name of the EJB home implementation class.java.lang.StringgetLink()Returns the link to a Jakarta EE EJB definition.java.lang.StringgetLocal()Returns the name of the EJB local implementation class.inthashCode()voidsetHome(java.lang.String home)Sets the name of the EJB home implementation class.voidsetLink(java.lang.String link)Sets the link to a Jakarta EE EJB definition.voidsetLocal(java.lang.String local)Sets the name of the EJB local implementation class.java.lang.StringtoString()Return a String representation of this object.-
Methods inherited from class org.apache.tomcat.util.descriptor.web.ResourceBase
addInjectionTarget, getDescription, getInjectionTargets, getLookupName, getName, getNamingResources, getProperty, getType, listProperties, removeProperty, setDescription, setLookupName, setName, setNamingResources, setProperty, setType
-
-
-
-
Method Detail
-
getHome
public java.lang.String getHome()
Returns the name of the EJB home implementation class.- Returns:
- the EJB home class name
-
setHome
public void setHome(java.lang.String home)
Sets the name of the EJB home implementation class.- Parameters:
home- the EJB home class name
-
getLink
public java.lang.String getLink()
Returns the link to a Jakarta EE EJB definition.- Returns:
- the EJB link
-
setLink
public void setLink(java.lang.String link)
Sets the link to a Jakarta EE EJB definition.- Parameters:
link- the EJB link
-
getLocal
public java.lang.String getLocal()
Returns the name of the EJB local implementation class.- Returns:
- the EJB local class name
-
setLocal
public void setLocal(java.lang.String local)
Sets the name of the EJB local implementation class.- Parameters:
local- the EJB local class name
-
toString
public java.lang.String toString()
Return a String representation of this object.- Overrides:
toStringin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classResourceBase
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classResourceBase
-
-