Class DetachListener

java.lang.Object
com.sun.enterprise.admin.cli.remote.DetachListener
All Implemented Interfaces:
org.glassfish.api.admin.AdminCommandEventBroker.AdminCommandListener<com.sun.enterprise.admin.remote.sse.GfSseInboundEvent>

public class DetachListener extends Object implements org.glassfish.api.admin.AdminCommandEventBroker.AdminCommandListener<com.sun.enterprise.admin.remote.sse.GfSseInboundEvent>
Whenever a command is executed with --detach this class will close the Server Sent Events for detached commands and give a job id.
Author:
Bhakti Mehta
  • Constructor Details

    • DetachListener

      public DetachListener(Logger logger, com.sun.enterprise.admin.remote.RemoteRestAdminCommand rac, boolean terse)
  • Method Details

    • onAdminCommandEvent

      public void onAdminCommandEvent(String name, com.sun.enterprise.admin.remote.sse.GfSseInboundEvent event)
      Specified by:
      onAdminCommandEvent in interface org.glassfish.api.admin.AdminCommandEventBroker.AdminCommandListener<com.sun.enterprise.admin.remote.sse.GfSseInboundEvent>