|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.glassfish.web.admin.cli.CreateProtocol
@Service(name="create-protocol")
@Scoped(value=org.jvnet.hk2.component.PerLookup.class)
@ExecuteOn(value={DAS,INSTANCE})
@TargetType(value={DAS,STANDALONE_INSTANCE,CLUSTER,CONFIG})
public class CreateProtocol
Command to create protocol element within network-config
Sample Usage : create-protocol [--securityenabled true|false] protocol_name
domain.xml element example
| Constructor Summary | |
|---|---|
CreateProtocol()
|
|
| Method Summary | |
|---|---|
static void |
create(com.sun.grizzly.config.dom.Protocols protocols,
java.lang.String name,
java.lang.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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CreateProtocol()
| Method Detail |
|---|
public void execute(AdminCommandContext context)
execute in interface AdminCommandcontext - information
public static void create(com.sun.grizzly.config.dom.Protocols protocols,
java.lang.String name,
java.lang.Boolean securityEnabled)
throws org.jvnet.hk2.config.TransactionFailure
org.jvnet.hk2.config.TransactionFailure
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||