org.mule.transport.stdio

Class StdioConnector

  • java.lang.Object
    • org.mule.AbstractAnnotatedObject
      • org.mule.transport.AbstractConnector
        • org.mule.transport.stdio.StdioConnector
  • All Implemented Interfaces:
    EventListener, javax.resource.spi.work.WorkListener, org.mule.api.AnnotatedObject, org.mule.api.lifecycle.Disposable, org.mule.api.lifecycle.Initialisable, org.mule.api.lifecycle.Lifecycle, org.mule.api.lifecycle.LifecycleStateEnabled, org.mule.api.lifecycle.Startable, org.mule.api.lifecycle.Stoppable, org.mule.api.NameableObject, org.mule.api.NamedObject, org.mule.api.transport.Connectable, org.mule.api.transport.Connector
    Direct Known Subclasses:
    PromptStdioConnector


    public abstract class StdioConnectorextends org.mule.transport.AbstractConnector
    StdioConnector can send and receive Mule events over IO streams.
    • Field Summary

      Fields 
      Modifier and TypeField and Description
      protected InputStreaminputStream 
      protected OutputStreamoutputStream 
      static StringSTDIO 
      static StringSTREAM_SYSTEM_ERR 
      static StringSTREAM_SYSTEM_IN 
      static StringSTREAM_SYSTEM_OUT 
      • Fields inherited from class org.mule.transport.AbstractConnector

        connecting, createMultipleTransactedReceivers, DEFAULT_CONTEXT_START_TIMEOUT, DEFAULT_NUM_CONCURRENT_TX_RECEIVERS, dispatcherFactory, dispatcherPoolFactory, dispatchers, initialStateStopped, lifecycleManager, logger, MULE_CONTEXT_START_TIMEOUT_SYSTEM_PROPERTY, muleContext, muleMessageFactory, name, numberOfConcurrentTransactedReceivers, PROPERTY_POLLING_FREQUENCY, receivers, requesterFactory, requesters, serviceDescriptor, serviceOverrides, sessionHandler, startOnConnect
      • Fields inherited from interface org.mule.api.transport.Connector

        INT_VALUE_NOT_SET
      • Fields inherited from interface org.mule.api.lifecycle.Disposable

        PHASE_NAME
      • Fields inherited from interface org.mule.api.AnnotatedObject

        PROPERTY_NAME
    • Constructor Summary

      Constructors 
      Constructor and Description
      StdioConnector(org.mule.api.MuleContext context) 
    • Method Summary

      Methods 
      Modifier and TypeMethod and Description
      org.mule.api.transport.MessageReceivercreateReceiver(org.mule.api.construct.FlowConstruct flowConstruct, org.mule.api.endpoint.InboundEndpoint endpoint) 
      protected voiddoDispose() 
      voiddoStart() 
      voiddoStop() 
      InputStreamgetInputStream() 
      OutputStreamgetOutputStream() 
      StringgetProtocol() 
      voidregisterListener(org.mule.api.endpoint.InboundEndpoint endpoint, org.mule.api.processor.MessageProcessor listener, org.mule.api.construct.FlowConstruct flowConstruct) 
      voidsetInputStream(InputStream inputStream) 
      voidsetOutputStream(OutputStream outputStream) 
      • Methods inherited from class org.mule.transport.AbstractConnector

        borrowDispatcher, clearDispatchers, clearRequesters, configureDispatcherPool, connect, connectConnectorAndReceivers, createDefaultRedeliveryPolicy, createDispatcherMessageProcessor, createMuleMessageFactory, createOperationResource, createScheduler, destroyReceiver, disconnect, dispose, disposeReceivers, disposeWorkManagers, doConnect, doDisconnect, doInitialise, doUnregisterListener, fireNotification, fireNotification, getCanonicalURI, getConnectEventId, getConnectionDescription, getDefaultExchangePattern, getDefaultInboundTransformers, getDefaultOutboundTransformers, getDefaultResponseTransformers, getDispatcherFactory, getDispatcherPoolFactory, getDispatcherThreadingProfile, getDispatcherWorkManager, getInboundExchangePatterns, getLifecycleState, getMaxDispatchersActive, getMaxRequestersActive, getMaxTotalDispatchers, getMuleContext, getMuleMessageFactory, getName, getNumberOfConcurrentTransactedReceivers, getOperationResourceFactory, getOutboundExchangePatterns, getOutputStream, getReceiver, getReceiverKey, getReceivers, getReceivers, getReceiverThreadingProfile, getReceiverWorkManager, getReplyToHandler, getRequesterFactory, getRequesterThreadingProfile, getRequesterWorkManager, getRetryPolicyTemplate, getScheduler, getServiceDescriptor, getServiceOverrides, getSessionHandler, getSupportedProtocols, getTransactionalResource, handleWorkException, initFromServiceDescriptor, initialise, initialiseFromUrl, initWorkManagers, isConnected, isConnecting, isCreateMultipleTransactedReceivers, isDisposed, isEnableMessageEvents, isEnableMessageEvents, isInitialised, isInitialStateStopped, isResponseEnabled, isStarted, isStarting, isStopped, isStopping, isValidateConnections, lookupReceiver, registerSupportedMetaProtocol, registerSupportedProtocol, registerSupportedProtocolWithoutPrefix, request, request, returnDispatcher, setConnected, setConnecting, setCreateMultipleTransactedReceivers, setDispatcherFactory, setDispatcherPoolFactory, setDispatcherPoolMaxWait, setDispatcherPoolWhenExhaustedAction, setDispatcherThreadingProfile, setDynamicNotification, setInitialStateStopped, setMaxDispatchersActive, setMaxRequestersActive, setName, setNumberOfConcurrentTransactedReceivers, setReceiverThreadingProfile, setRequesterFactory, setRequesterPoolMaxWait, setRequesterPoolWhenExhaustedAction, setRequesterThreadingProfile, setRetryPolicyTemplate, setServiceOverrides, setSessionHandler, setSupportedProtocols, setupDispatchReturn, setupRequestReturn, setValidateConnections, shutdownScheduler, start, startAfterConnect, stop, supportsProtocol, toString, unregisterListener, unregisterSupportedProtocol, updateCachedNotificationHandler, validateConnection, workAccepted, workCompleted, workRejected, workStarted
      • Methods inherited from class org.mule.AbstractAnnotatedObject

        getAnnotation, getAnnotations, setAnnotations
    • Constructor Detail

      • StdioConnector

        public StdioConnector(org.mule.api.MuleContext context)
    • Method Detail

      • createReceiver

        public org.mule.api.transport.MessageReceiver createReceiver(org.mule.api.construct.FlowConstruct flowConstruct,                                                    org.mule.api.endpoint.InboundEndpoint endpoint)                                                      throws Exception
        Overrides:
        createReceiver in class org.mule.transport.AbstractConnector
        Throws:
        Exception
      • doStop

        public void doStop()
        Specified by:
        doStop in class org.mule.transport.AbstractConnector
      • doDispose

        protected void doDispose()
        Specified by:
        doDispose in class org.mule.transport.AbstractConnector
      • doStart

        public void doStart()
        Specified by:
        doStart in class org.mule.transport.AbstractConnector
      • getProtocol

        public String getProtocol()
      • setInputStream

        public void setInputStream(InputStream inputStream)
      • setOutputStream

        public void setOutputStream(OutputStream outputStream)
      • registerListener

        public void registerListener(org.mule.api.endpoint.InboundEndpoint endpoint,                    org.mule.api.processor.MessageProcessor listener,                    org.mule.api.construct.FlowConstruct flowConstruct)                      throws Exception
        Specified by:
        registerListener in interface org.mule.api.transport.Connector
        Overrides:
        registerListener in class org.mule.transport.AbstractConnector
        Throws:
        Exception

Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.



NOTHING
NOTHING
Add the Maven Dependecy to your project: maven dependecy for com.amazonaws : aws-java-sdk : 1.3.14