org.apache.camel.model
Class AOPDefinition

java.lang.Object
  extended by org.apache.camel.model.OptionalIdentifiedDefinition
      extended by org.apache.camel.model.ProcessorDefinition<Type>
          extended by org.apache.camel.model.OutputDefinition<AOPDefinition>
              extended by org.apache.camel.model.AOPDefinition
All Implemented Interfaces:
Block

Deprecated. will be removed in the future

@Deprecated
public class AOPDefinition
extends OutputDefinition<AOPDefinition>

Represents an XML <aop/> element

Version:
$Revision: 20139 $

Field Summary
 
Fields inherited from class org.apache.camel.model.OutputDefinition
outputs
 
Fields inherited from class org.apache.camel.model.ProcessorDefinition
errorHandlerBuilder, errorHandlerRef, inheritErrorHandler, log
 
Constructor Summary
AOPDefinition()
          Deprecated.  
 
Method Summary
 AOPDefinition after(String afterUri)
          Deprecated. Uses a AOP after.
 AOPDefinition afterFinally(String afterUri)
          Deprecated. Uses a AOP after with after being invoked in a finally block.
 AOPDefinition around(String beforeUri, String afterUri)
          Deprecated. Uses a AOP around.
 AOPDefinition aroundFinally(String beforeUri, String afterUri)
          Deprecated. Uses a AOP around with after being invoked in a finally block
 AOPDefinition before(String beforeUri)
          Deprecated. Uses a AOP before.
 Processor createProcessor(RouteContext routeContext)
          Deprecated. Override this in definition class and implement logic to create the processor based on the definition model.
 String getAfterFinallyUri()
          Deprecated.  
 String getAfterUri()
          Deprecated.  
 String getBeforeUri()
          Deprecated.  
 String getLabel()
          Deprecated. Returns a label to describe this node such as the expression if some kind of expression node
 String getShortName()
          Deprecated. Returns a short name for this node which can be useful for ID generation or referring to related resources like images
 String toString()
          Deprecated.  
 
Methods inherited from class org.apache.camel.model.OutputDefinition
getOutputs, setOutputs
 
Methods inherited from class org.apache.camel.model.ProcessorDefinition
addInterceptStrategies, addInterceptStrategy, addOutput, addRoutes, aggregate, aggregate, aggregate, aggregate, aop, bean, bean, bean, bean, beanRef, beanRef, choice, clearOutput, configureChild, convertBodyTo, convertBodyTo, createChannel, createChildProcessor, createCompositeProcessor, createErrorHandlerBuilder, createOutputsProcessor, createOutputsProcessor, delay, delay, delay, doTry, dynamicRouter, dynamicRouter, end, enrich, enrich, enrichRef, filter, filter, filter, filter, getErrorHandlerBuilder, getInterceptStrategies, getNodeFactory, getParent, id, idempotentConsumer, idempotentConsumer, idempotentConsumer, inheritErrorHandler, inOnly, inOnly, inOnly, inOnly, inOnly, inOnly, inOut, inOut, inOut, inOut, inOut, inOut, isAbstract, isInheritErrorHandler, loadBalance, loadBalance, log, log, log, loop, loop, loop, makeProcessor, markRollbackOnly, markRollbackOnlyLast, marshal, marshal, marshal, marshal, multicast, multicast, multicast, onCompletion, onException, onException, pipeline, pipeline, pipeline, pipeline, policy, policy, pollEnrich, pollEnrich, pollEnrich, pollEnrich, pollEnrichRef, process, processRef, recipientList, recipientList, recipientList, removeFaultHeader, removeHeader, removeHeaders, removeProperty, resequence, resequence, resequence, resequence, resolvePropertyPlaceholders, rollback, rollback, routeId, routingSlip, routingSlip, routingSlip, routingSlip, routingSlip, routingSlip, routingSlip, sample, sample, setBody, setBody, setErrorHandlerBuilder, setExchangePattern, setFaultBody, setFaultHeader, setHeader, setHeader, setInheritErrorHandler, setNodeFactory, setOutHeader, setOutHeader, setParent, setProperty, setProperty, sort, sort, sortBody, sortBody, split, split, split, stop, threads, threads, threads, throttle, throwException, to, to, to, to, to, to, to, to, to, to, toF, transacted, transacted, transform, transform, unmarshal, unmarshal, unmarshal, unmarshal, validate, validate, validate, wireTap, wireTap, wireTap, wireTap, wireTap, wireTap, wireTap, wrapChannel, wrapInErrorHandler, wrapProcessor
 
Methods inherited from class org.apache.camel.model.OptionalIdentifiedDefinition
description, getDescription, getDescriptionText, getId, hasCustomIdAssigned, idOrCreate, setDescription, setId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AOPDefinition

public AOPDefinition()
Deprecated. 
Method Detail

toString

public String toString()
Deprecated. 
Overrides:
toString in class Object

getBeforeUri

public String getBeforeUri()
Deprecated. 

getAfterUri

public String getAfterUri()
Deprecated. 

getAfterFinallyUri

public String getAfterFinallyUri()
Deprecated. 

getShortName

public String getShortName()
Deprecated. 
Description copied from class: OptionalIdentifiedDefinition
Returns a short name for this node which can be useful for ID generation or referring to related resources like images

Overrides:
getShortName in class OptionalIdentifiedDefinition
Returns:
defaults to "node" but derived nodes should overload this to provide a unique name

getLabel

public String getLabel()
Deprecated. 
Description copied from class: ProcessorDefinition
Returns a label to describe this node such as the expression if some kind of expression node

Overrides:
getLabel in class ProcessorDefinition<AOPDefinition>

createProcessor

public Processor createProcessor(RouteContext routeContext)
                          throws Exception
Deprecated. 
Description copied from class: ProcessorDefinition
Override this in definition class and implement logic to create the processor based on the definition model.

Overrides:
createProcessor in class ProcessorDefinition<AOPDefinition>
Throws:
Exception

around

public AOPDefinition around(String beforeUri,
                            String afterUri)
Deprecated. 
Uses a AOP around.

Parameters:
beforeUri - the uri of the before endpoint
afterUri - the uri of the after endpoint
Returns:
the builder

aroundFinally

public AOPDefinition aroundFinally(String beforeUri,
                                   String afterUri)
Deprecated. 
Uses a AOP around with after being invoked in a finally block

Parameters:
beforeUri - the uri of the before endpoint
afterUri - the uri of the after endpoint
Returns:
the builder

before

public AOPDefinition before(String beforeUri)
Deprecated. 
Uses a AOP before.

Parameters:
beforeUri - the uri of the before endpoint
Returns:
the builder

after

public AOPDefinition after(String afterUri)
Deprecated. 
Uses a AOP after.

Parameters:
afterUri - the uri of the after endpoint
Returns:
the builder

afterFinally

public AOPDefinition afterFinally(String afterUri)
Deprecated. 
Uses a AOP after with after being invoked in a finally block.

Parameters:
afterUri - the uri of the after endpoint
Returns:
the builder


Apache CAMEL