@Service(name="set") @ExecuteOn(value=INSTANCE) @PerLookup public class SetCommand extends V2DottedNameSupport implements AdminCommand, org.glassfish.hk2.api.PostConstruct, AdminCommandSecurity.AccessCheckProvider, AdminCommandSecurity.Preauthorization
| Constructor and Description |
|---|
SetCommand() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(AdminCommandContext context)
Executes the command with the command parameters passed as Properties
where the keys are the parameter names and the values are the parameter values
|
Collection<? extends AccessRequired.AccessCheck> |
getAccessChecks()
Returns the
AccessChecks 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. |
void |
postConstruct() |
boolean |
preAuthorization(AdminCommandContext context) |
static void |
setLeafElement(org.jvnet.hk2.config.ConfigBean node,
String elementName,
String values) |
applyOverrideRules, getAliasedParent, getAllDottedNodes, getAllDottedNodes, getAllSubDottedNames, getMatchingNodes, getNamedNodes, getNodeAttributes, matches, matchName, sortNodesByDottedName, sortTreeNodesByCompletePathNamepublic void postConstruct()
postConstruct in interface org.glassfish.hk2.api.PostConstructpublic boolean preAuthorization(AdminCommandContext context)
preAuthorization in interface AdminCommandSecurity.Preauthorizationpublic Collection<? extends AccessRequired.AccessCheck> getAccessChecks()
AdminCommandSecurity.AccessCheckProviderAccessChecks 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.AccessCheckProviderAccessCheckspublic void execute(AdminCommandContext context)
AdminCommandexecute in interface AdminCommandcontext - informationCopyright © 2017. All rights reserved.