org.apache.camel.component.printer
Class PrinterProducer

java.lang.Object
  extended by org.apache.camel.impl.ServiceSupport
      extended by org.apache.camel.impl.DefaultProducer
          extended by org.apache.camel.component.printer.PrinterProducer
All Implemented Interfaces:
IsSingleton, Processor, Producer, Service

public class PrinterProducer
extends DefaultProducer


Field Summary
 
Fields inherited from class org.apache.camel.impl.DefaultProducer
log
 
Constructor Summary
PrinterProducer(Endpoint endpoint, PrinterConfiguration config)
           
 
Method Summary
protected  void doStart()
           
protected  void doStop()
           
 PrinterConfiguration getConfig()
           
 Endpoint getEndpoint()
           
 String getPrinter()
           
 PrinterOperations getPrinterOperations()
           
 PrintService getPrintService()
           
 void process(Exchange exchange)
           
 void setConfig(PrinterConfiguration config)
           
 void setEndpoint(Endpoint endpoint)
           
 void setPrinter(String printer)
           
 void setPrinterOperations(PrinterOperations printerOperations)
           
 void setPrintService(PrintService printService)
           
 
Methods inherited from class org.apache.camel.impl.DefaultProducer
createExchange, createExchange, createExchange, isSingleton, toString
 
Methods inherited from class org.apache.camel.impl.ServiceSupport
addChildService, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, removeChildService, start, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.apache.camel.Service
start, stop
 

Constructor Detail

PrinterProducer

public PrinterProducer(Endpoint endpoint,
                       PrinterConfiguration config)
                throws Exception
Throws:
Exception
Method Detail

doStart

protected void doStart()
                throws Exception
Overrides:
doStart in class DefaultProducer
Throws:
Exception

doStop

protected void doStop()
               throws Exception
Overrides:
doStop in class DefaultProducer
Throws:
Exception

process

public void process(Exchange exchange)
             throws Exception
Throws:
Exception

getEndpoint

public Endpoint getEndpoint()
Specified by:
getEndpoint in interface Producer
Overrides:
getEndpoint in class DefaultProducer

setEndpoint

public void setEndpoint(Endpoint endpoint)

getConfig

public PrinterConfiguration getConfig()

setConfig

public void setConfig(PrinterConfiguration config)

getPrinterOperations

public PrinterOperations getPrinterOperations()

setPrinterOperations

public void setPrinterOperations(PrinterOperations printerOperations)

getPrintService

public PrintService getPrintService()

setPrintService

public void setPrintService(PrintService printService)

getPrinter

public String getPrinter()

setPrinter

public void setPrinter(String printer)


Copyright © 2007-2010 IONA Open Source Community. All Rights Reserved.