Class CommandThreadPool

java.lang.Object
com.sun.enterprise.admin.util.CommandThreadPool
All Implemented Interfaces:
org.glassfish.hk2.api.PostConstruct

@Service @RunLevel(mode=0, value=10) public class CommandThreadPool extends Object implements org.glassfish.hk2.api.PostConstruct
This singleton service creates and holds the command pool used to execute commands
Author:
Vijay Ramachandran
  • Constructor Details

    • CommandThreadPool

      public CommandThreadPool()
  • Method Details

    • postConstruct

      public void postConstruct()
      Process the instance file if this is DAS and there are instances configured already in this domain
      Specified by:
      postConstruct in interface org.glassfish.hk2.api.PostConstruct
    • submitJob

      public Future<org.glassfish.api.admin.InstanceCommandResult> submitJob(org.glassfish.api.admin.InstanceCommand ice, org.glassfish.api.admin.InstanceCommandResult r)