org.apache.camel.component.jt400
Class Jt400PgmEndpoint

java.lang.Object
  extended by org.apache.camel.impl.ServiceSupport
      extended by org.apache.camel.impl.DefaultEndpoint
          extended by org.apache.camel.component.jt400.Jt400PgmEndpoint
All Implemented Interfaces:
org.apache.camel.CamelContextAware, org.apache.camel.Endpoint, org.apache.camel.IsSingleton, org.apache.camel.Service, org.apache.camel.ShutdownableService, org.apache.camel.spi.HasId

public class Jt400PgmEndpoint
extends org.apache.camel.impl.DefaultEndpoint


Constructor Summary
protected Jt400PgmEndpoint(String endpointUri, Jt400Component component)
          Creates a new AS/400 PGM CALL endpoint
  Jt400PgmEndpoint(String endpointUri, String programToExecute, Map<String,Object> parameters, org.apache.camel.CamelContext camelContext)
           
 
Method Summary
 org.apache.camel.Consumer createConsumer(org.apache.camel.Processor processor)
           
 org.apache.camel.Producer createProducer()
           
 com.ibm.as400.access.AS400 getiSeries()
           
 int getOutputFieldLength(int idx)
           
 String getProgramToExecute()
           
 boolean isFieldIdxForOuput(int idx)
           
 boolean isGuiAvailable()
           
 boolean isSingleton()
           
 void setFieldsLength(String fieldsLength)
           
 void setGuiAvailable(boolean guiAvailable)
           
 void setOutputFieldsIdx(String outputFieldsIdx)
           
 void stop()
           
 
Methods inherited from class org.apache.camel.impl.DefaultEndpoint
configureProperties, createEndpointUri, createExchange, createExchange, createExchange, createPollingConsumer, doStart, doStop, equals, getCamelContext, getComponent, getEndpointKey, getEndpointUri, getExchangePattern, getExchangeType, getId, hashCode, isLenientProperties, isSynchronous, setCamelContext, setEndpointUri, setEndpointUriIfNotSpecified, setExchangePattern, setSynchronous, toString
 
Methods inherited from class org.apache.camel.impl.ServiceSupport
addChildService, doResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isSuspended, isSuspending, removeChildService, resume, shutdown, start, start, suspend
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.apache.camel.Service
start
 

Constructor Detail

Jt400PgmEndpoint

protected Jt400PgmEndpoint(String endpointUri,
                           Jt400Component component)
                    throws org.apache.camel.CamelException
Creates a new AS/400 PGM CALL endpoint

Throws:
org.apache.camel.CamelException

Jt400PgmEndpoint

public Jt400PgmEndpoint(String endpointUri,
                        String programToExecute,
                        Map<String,Object> parameters,
                        org.apache.camel.CamelContext camelContext)
Method Detail

createProducer

public org.apache.camel.Producer createProducer()
                                         throws Exception
Throws:
Exception

createConsumer

public org.apache.camel.Consumer createConsumer(org.apache.camel.Processor processor)
                                         throws Exception
Throws:
Exception

isSingleton

public boolean isSingleton()

stop

public void stop()
          throws Exception
Specified by:
stop in interface org.apache.camel.Service
Overrides:
stop in class org.apache.camel.impl.ServiceSupport
Throws:
Exception

isFieldIdxForOuput

public boolean isFieldIdxForOuput(int idx)

getOutputFieldLength

public int getOutputFieldLength(int idx)

getProgramToExecute

public String getProgramToExecute()

getiSeries

public com.ibm.as400.access.AS400 getiSeries()

setOutputFieldsIdx

public void setOutputFieldsIdx(String outputFieldsIdx)

setFieldsLength

public void setFieldsLength(String fieldsLength)

setGuiAvailable

public void setGuiAvailable(boolean guiAvailable)
                     throws PropertyVetoException
Throws:
PropertyVetoException

isGuiAvailable

public boolean isGuiAvailable()


Apache CAMEL