com.sun.enterprise.admin.util
Class CommandThreadPool
java.lang.Object
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 Object
- implements Startup, org.jvnet.hk2.component.PostConstruct
This singleton service creates and holds the command pool used to execute commands
- Author:
- Vijay Ramachandran
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CommandThreadPool
public CommandThreadPool()
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 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.