Class EjbRef

java.lang.Object
org.apache.maven.plugins.ear.EjbRef

public class EjbRef extends Object
Representation of ejb-ref element in application.xml file.
Since:
2.10
Author:
Karl Heinz Marbaise
  • Constructor Details

    • EjbRef

      public EjbRef(String description, String name, String type, String lookupName)
      Parameters:
      description - The ejb-ref description.
      name - The ejb-ref-name.
      type - The ejb-ref-type
      lookupName - The lookupname.
  • Method Details

    • appendEjbRefEntry

      public void appendEjbRefEntry(org.codehaus.plexus.util.xml.XMLWriter writer)
      Appends the XML representation of this env-entry.
      Parameters:
      writer - the writer to use
    • getName

      public String getName()
      Returns:
      name
    • setName

      public void setName(String name)
      Parameters:
      name - name
    • getType

      public String getType()
      Returns:
      type
    • setType

      public void setType(String type)
      Parameters:
      type - type
    • getLookupName

      public String getLookupName()
      Returns:
      lookupName
    • setLookupName

      public void setLookupName(String lookupName)
      Parameters:
      lookupName - lookupName
    • getDescription

      public String getDescription()
      Returns:
      description