Class CreateMailResource

java.lang.Object
org.glassfish.resources.mail.admin.cli.CreateMailResource
All Implemented Interfaces:
org.glassfish.api.admin.AdminCommand

@TargetType({DAS,DOMAIN,CLUSTER,STANDALONE_INSTANCE}) @ExecuteOn(ALL) @Service(name="create-mail-resource") @PerLookup public class CreateMailResource extends Object implements org.glassfish.api.admin.AdminCommand
Create Java Mail Resource
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    execute(org.glassfish.api.admin.AdminCommandContext context)
    Executes the command with the command parameters passed as Properties where the keys are the parameter names and the values the parameter values

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • CreateMailResource

      public CreateMailResource()
  • Method Details

    • execute

      public void execute(org.glassfish.api.admin.AdminCommandContext context)
      Executes the command with the command parameters passed as Properties where the keys are the parameter names and the values the parameter values
      Specified by:
      execute in interface org.glassfish.api.admin.AdminCommand
      Parameters:
      context - information