@Service(name="create-application-ref") @ExecuteOn(value=DAS) @PerLookup @TargetType(value={DAS,STANDALONE_INSTANCE,CLUSTER,DEPLOYMENT_GROUP}) public class CreateApplicationRefCommand extends Object implements AdminCommand, AdminCommandSecurity.AccessCheckProvider
Modifier and Type | Field and Description |
---|---|
Boolean |
enabled |
String |
lbenabled |
String |
name |
protected Server |
server |
String |
virtualservers |
Constructor and Description |
---|
CreateApplicationRefCommand() |
Modifier and Type | Method and Description |
---|---|
void |
execute(AdminCommandContext context)
Entry point from the framework into the command execution
|
Collection<? extends AccessRequired.AccessCheck> |
getAccessChecks()
Returns the
AccessCheck s the command has computed at runtime
which should be included in the authorization, added to checks that
secure admin infers from the command's CRUD or RestEndpoint characteristics
or AccessRequired annotations. |
public String name
public String virtualservers
public Boolean enabled
public String lbenabled
@Inject @Named(value="default-instance-name") protected Server server
public Collection<? extends AccessRequired.AccessCheck> getAccessChecks()
AdminCommandSecurity.AccessCheckProvider
AccessCheck
s the command has computed at runtime
which should be included in the authorization, added to checks that
secure admin infers from the command's CRUD or RestEndpoint characteristics
or AccessRequired
annotations.getAccessChecks
in interface AdminCommandSecurity.AccessCheckProvider
AccessCheck
spublic void execute(AdminCommandContext context)
execute
in interface AdminCommand
context
- context for the command.Copyright © 2018. All rights reserved.