Class CreateTransport

  • All Implemented Interfaces:
    AdminCommand

    @Service(name="create-transport")
    @PerLookup
    @ExecuteOn({DAS,INSTANCE})
    @TargetType({DAS,STANDALONE_INSTANCE,CLUSTER,CONFIG})
    public class CreateTransport
    extends Object
    implements 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] [--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 Detail

      • CreateTransport

        public CreateTransport()
    • Method Detail

      • execute

        public 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
        Specified by:
        execute in interface AdminCommand
        Parameters:
        context - information