com.sun.enterprise.v3.admin
Class StopDomainCommand

java.lang.Object
  extended by com.sun.enterprise.v3.admin.StopServer
      extended by com.sun.enterprise.v3.admin.StopDomainCommand
All Implemented Interfaces:
AdminCommand

@Service(name="stop-domain")
@Scoped(value=org.jvnet.hk2.component.PerLookup.class)
@CommandLock(value=NONE)
@ExecuteOn(value=DAS)
public class StopDomainCommand
extends StopServer
implements AdminCommand

AdminCommand to stop the domain execution which mean shuting down the application server.

Author:
Jerome Dochez

Constructor Summary
StopDomainCommand()
           
 
Method Summary
 void execute(AdminCommandContext context)
          Shutdown of the application server : All running services are stopped.
 
Methods inherited from class com.sun.enterprise.v3.admin.StopServer
doExecute
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StopDomainCommand

public StopDomainCommand()
Method Detail

execute

public void execute(AdminCommandContext context)
Shutdown of the application server : All running services are stopped. LookupManager is flushed.

Specified by:
execute in interface AdminCommand


Copyright © 2012. All Rights Reserved.