Class ContextLocalEjb
java.lang.Object
org.apache.tomcat.util.descriptor.web.ResourceBase
org.apache.tomcat.util.descriptor.web.ContextLocalEjb
- All Implemented Interfaces:
Serializable, Injectable
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:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetHome()Returns the name of the EJB home implementation class.getLink()Returns the link to a Jakarta EE EJB definition.getLocal()Returns the name of the EJB local implementation class.inthashCode()voidSets the name of the EJB home implementation class.voidSets the link to a Jakarta EE EJB definition.voidSets the name of the EJB local implementation class.toString()Return a String representation of this object.Methods inherited from class ResourceBase
addInjectionTarget, getDescription, getInjectionTargets, getLookupName, getName, getNamingResources, getProperty, getType, listProperties, removeProperty, setDescription, setLookupName, setName, setNamingResources, setProperty, setType
-
Constructor Details
-
ContextLocalEjb
public ContextLocalEjb()Default constructor for ContextLocalEjb.
-
-
Method Details
-
getHome
Returns the name of the EJB home implementation class.- Returns:
- the EJB home class name
-
setHome
Sets the name of the EJB home implementation class.- Parameters:
home- the EJB home class name
-
getLink
-
setLink
Sets the link to a Jakarta EE EJB definition.- Parameters:
link- the EJB link
-
getLocal
Returns the name of the EJB local implementation class.- Returns:
- the EJB local class name
-
setLocal
Sets the name of the EJB local implementation class.- Parameters:
local- the EJB local class name
-
toString
-
hashCode
public int hashCode()- Overrides:
hashCodein classResourceBase
-
equals
- Overrides:
equalsin classResourceBase
-