com.sun.enterprise.admin.util
Class CommandThreadPool

java.lang.Object
  extended by com.sun.enterprise.admin.util.CommandThreadPool
All Implemented Interfaces:
Startup, org.jvnet.hk2.component.PostConstruct

@Service
@Scoped(value=org.jvnet.hk2.component.Singleton.class)
public class CommandThreadPool
extends java.lang.Object
implements Startup, org.jvnet.hk2.component.PostConstruct

This singleton service creates and holds the command pool used to execute commands

Author:
Vijay Ramachandran

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.glassfish.api.Startup
Startup.Lifecycle
 
Constructor Summary
CommandThreadPool()
           
 
Method Summary
 Startup.Lifecycle getLifecycle()
           
 void postConstruct()
          Process the instance file if this is DAS and there are instances configured already in this domain
 java.util.concurrent.Future<InstanceCommandResult> submitJob(InstanceCommand ice, InstanceCommandResult r)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommandThreadPool

public CommandThreadPool()
Method Detail

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.jvnet.hk2.component.PostConstruct

submitJob

public java.util.concurrent.Future<InstanceCommandResult> submitJob(InstanceCommand ice,
                                                                    InstanceCommandResult r)

getLifecycle

public Startup.Lifecycle getLifecycle()
Specified by:
getLifecycle in interface Startup


Copyright © 2012 GlassFish Community. All Rights Reserved.