Package com.sun.enterprise.admin.util
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 Summary
Constructors Constructor Description CommandThreadPool()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
postConstruct()
Process the instance file if this is DAS and there are instances configured already in this domainFuture<InstanceCommandResult>
submitJob(InstanceCommand ice, InstanceCommandResult r)
-
-
-
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 interfaceorg.glassfish.hk2.api.PostConstruct
-
submitJob
public Future<InstanceCommandResult> submitJob(InstanceCommand ice, InstanceCommandResult r)
-
-