org.glassfish.deployment.admin
Class EnableCommand

java.lang.Object
  extended by org.glassfish.api.deployment.OpsParams
      extended by org.glassfish.api.deployment.StateCommandParameters
          extended by org.glassfish.deployment.admin.EnableCommand
All Implemented Interfaces:
AdminCommand, CommandParameters

@Service(name="enable")
@ExecuteOn(value={DAS,INSTANCE})
@Scoped(value=org.jvnet.hk2.component.PerLookup.class)
@TargetType(value={DOMAIN,DAS,STANDALONE_INSTANCE,CLUSTER,CLUSTERED_INSTANCE})
public class EnableCommand
extends StateCommandParameters
implements AdminCommand

Enable command


Nested Class Summary
 
Nested classes/interfaces inherited from class org.glassfish.api.deployment.OpsParams
OpsParams.Origin
 
Field Summary
protected  Server server
           
 
Fields inherited from class org.glassfish.api.deployment.StateCommandParameters
component, target
 
Fields inherited from class org.glassfish.api.deployment.OpsParams
origin
 
Constructor Summary
EnableCommand()
           
 
Method Summary
 void execute(AdminCommandContext context)
          Entry point from the framework into the command execution
 
Methods inherited from class org.glassfish.api.deployment.StateCommandParameters
libraries, name
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

server

protected Server server
Constructor Detail

EnableCommand

public EnableCommand()
Method Detail

execute

public void execute(AdminCommandContext context)
Entry point from the framework into the command execution

Specified by:
execute in interface AdminCommand
Parameters:
context - context for the command.


Copyright © 2012 GlassFish Community. All Rights Reserved.