@Service(name="create-protocol") @PerLookup @ExecuteOn(value={DAS,INSTANCE}) @TargetType(value={DAS,STANDALONE_INSTANCE,CLUSTER,CONFIG}) public class CreateProtocol extends Object implements AdminCommand
Constructor and Description |
---|
CreateProtocol() |
Modifier and Type | Method and Description |
---|---|
static void |
create(Protocols protocols,
String name,
Boolean securityEnabled) |
void |
execute(AdminCommandContext context)
Executes the command with the command parameters passed as Properties where the keys are the paramter names and
the values the parameter values
|
public void execute(AdminCommandContext context)
execute
in interface AdminCommand
context
- informationpublic static void create(Protocols protocols, String name, Boolean securityEnabled) throws TransactionFailure
TransactionFailure
Copyright © 2019. All rights reserved.