com.sun.enterprise.v3.admin.cluster
Class StopInstanceCommand

java.lang.Object
  extended by com.sun.enterprise.v3.admin.StopServer
      extended by com.sun.enterprise.v3.admin.cluster.StopInstanceCommand
All Implemented Interfaces:
AdminCommand, org.jvnet.hk2.component.PostConstruct

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

AdminCommand to stop the instance server. Shutdown of an instance. This command only runs on DAS. It calls the instance and asks it to kill itself

Author:
Byron Nevins

Constructor Summary
StopInstanceCommand()
           
 
Method Summary
 void execute(AdminCommandContext context)
           
 void postConstruct()
           
 
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

StopInstanceCommand

public StopInstanceCommand()
Method Detail

execute

public void execute(AdminCommandContext context)
Specified by:
execute in interface AdminCommand

postConstruct

public void postConstruct()
Specified by:
postConstruct in interface org.jvnet.hk2.component.PostConstruct


Copyright © 2012 GlassFish Community. All Rights Reserved.