ContextEjb (Apache Tomcat 8.5.43 API Documentation)

org.apache.tomcat.util.descriptor.web

## Class ContextEjb

- java.lang.Object
- - org.apache.tomcat.util.descriptor.web.ResourceBase
  - - org.apache.tomcat.util.descriptor.web.ContextEjb

- All Implemented Interfaces:
    java.io.Serializable, Injectable

      public class ContextEjb
      extends ResourceBase

  Representation of an EJB resource reference for a web application, as represented in a `<ejb-ref>` element in the deployment descriptor.
  Author:
    Craig R. McClanahan, Peter Rossbach (pero@apache.org)
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ContextEjb()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.lang.String` | `getHome()`
    `java.lang.String` | `getLink()`
    `java.lang.String` | `getRemote()`
    `int` | `hashCode()`
    `void` | `setHome(java.lang.String home)`
    `void` | `setLink(java.lang.String link)`
    `void` | `setRemote(java.lang.String remote)`
    `java.lang.String` | `toString()` 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`

    - ### Methods inherited from class java.lang.Object

      `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### ContextEjb

          public ContextEjb()

  - ### Method Detail

    - #### getHome

          public java.lang.String getHome()

    - #### setHome

          public void setHome(java.lang.String home)

    - #### getLink

          public java.lang.String getLink()

    - #### setLink

          public void setLink(java.lang.String link)

    - #### getRemote

          public java.lang.String getRemote()

    - #### setRemote

          public void setRemote(java.lang.String remote)

    - #### toString

          public java.lang.String toString()

      Return a String representation of this object.
      Overrides:
        `toString` in class `java.lang.Object`

    - #### hashCode

          public int hashCode()

      Overrides:
        `hashCode` in class `ResourceBase`

    - #### equals

          public boolean equals(java.lang.Object obj)

      Overrides:
        `equals` in class `ResourceBase`

Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.