Package org.glassfish.web.admin.cli
Class CreateTransport
java.lang.Object
org.glassfish.web.admin.cli.CreateTransport
- All Implemented Interfaces:
org.glassfish.api.admin.AdminCommand
@Service(name="create-transport")
@PerLookup
@ExecuteOn({DAS,INSTANCE})
@TargetType({DAS,STANDALONE_INSTANCE,CLUSTER,CONFIG})
public class CreateTransport
extends Object
implements org.glassfish.api.admin.AdminCommand
Command to create transport element within network-config
Sample Usage : create-transport [--acceptorThreads no_of_acceptor_threads] [--bufferSizeBytes buff_size_bytes]
[--classname class_name] [--enableSnoop true|false][--selectionKeyHandler true|false] [--displayConfiguration
true|false][--maxConnectionsCount count] [--idleKeyTimeoutSeconds idle_key_timeout] [--tcpNoDelay true|false]
[--readTimeoutMillis read_timeout][--writeTimeoutMillis write_timeout] [--byteBufferType buff_type]
[--selectorPollTimeoutMillis true|false] transport_name
domain.xml element example
- Author:
- Nandini Ektare
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute(org.glassfish.api.admin.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
-
Constructor Details
-
CreateTransport
public CreateTransport()
-
-
Method Details
-
execute
public void execute(org.glassfish.api.admin.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- Specified by:
executein interfaceorg.glassfish.api.admin.AdminCommand- Parameters:
context- information
-