Class MailResource

java.lang.Object
org.glassfish.resources.api.JavaEEResourceBase
org.glassfish.resources.mail.beans.MailResource
All Implemented Interfaces:
com.sun.enterprise.deployment.interfaces.MailResourceIntf, Serializable, org.glassfish.resources.api.JavaEEResource

public class MailResource extends org.glassfish.resources.api.JavaEEResourceBase implements com.sun.enterprise.deployment.interfaces.MailResourceIntf
Resource info for MailResource. IASRI #4650786
Author:
James Kong
See Also:
  • Constructor Details

    • MailResource

      public MailResource(org.glassfish.resourcebase.resources.api.ResourceInfo resourceInfo)
  • Method Details

    • doClone

      protected org.glassfish.resources.api.JavaEEResource doClone(org.glassfish.resourcebase.resources.api.ResourceInfo resourceInfo)
      Specified by:
      doClone in class org.glassfish.resources.api.JavaEEResourceBase
    • getName

      public String getName()
      Specified by:
      getName in interface com.sun.enterprise.deployment.interfaces.MailResourceIntf
    • getType

      public int getType()
      Specified by:
      getType in interface org.glassfish.resources.api.JavaEEResource
      Specified by:
      getType in interface com.sun.enterprise.deployment.interfaces.MailResourceIntf
      Specified by:
      getType in class org.glassfish.resources.api.JavaEEResourceBase
    • getResType

      public String getResType()
      Specified by:
      getResType in interface com.sun.enterprise.deployment.interfaces.MailResourceIntf
    • setResType

      public void setResType(String resType)
    • getFactoryClass

      public String getFactoryClass()
      Specified by:
      getFactoryClass in interface com.sun.enterprise.deployment.interfaces.MailResourceIntf
    • setFactoryClass

      public void setFactoryClass(String factoryClass)
    • getStoreProtocol

      public String getStoreProtocol()
      Specified by:
      getStoreProtocol in interface com.sun.enterprise.deployment.interfaces.MailResourceIntf
    • setStoreProtocol

      public void setStoreProtocol(String storeProtocol)
    • getStoreProtocolClass

      public String getStoreProtocolClass()
      Specified by:
      getStoreProtocolClass in interface com.sun.enterprise.deployment.interfaces.MailResourceIntf
    • setStoreProtocolClass

      public void setStoreProtocolClass(String storeProtocolClass)
    • getTransportProtocol

      public String getTransportProtocol()
      Specified by:
      getTransportProtocol in interface com.sun.enterprise.deployment.interfaces.MailResourceIntf
    • setTransportProtocol

      public void setTransportProtocol(String transportProtocol)
    • getTransportProtocolClass

      public String getTransportProtocolClass()
      Specified by:
      getTransportProtocolClass in interface com.sun.enterprise.deployment.interfaces.MailResourceIntf
    • setTransportProtocolClass

      public void setTransportProtocolClass(String transportProtocolClass)
    • getMailHost

      public String getMailHost()
      Specified by:
      getMailHost in interface com.sun.enterprise.deployment.interfaces.MailResourceIntf
    • setMailHost

      public void setMailHost(String mailHost)
    • getUsername

      public String getUsername()
      Specified by:
      getUsername in interface com.sun.enterprise.deployment.interfaces.MailResourceIntf
    • setUsername

      public void setUsername(String username)
    • getMailFrom

      public String getMailFrom()
      Specified by:
      getMailFrom in interface com.sun.enterprise.deployment.interfaces.MailResourceIntf
    • setMailFrom

      public void setMailFrom(String mailFrom)
    • isDebug

      public boolean isDebug()
      Specified by:
      isDebug in interface com.sun.enterprise.deployment.interfaces.MailResourceIntf
    • setDebug

      public void setDebug(boolean debug)
    • toString

      public String toString()
      Overrides:
      toString in class Object