Spring AMQP

org.springframework.amqp.rabbit.config
Class BindingFactoryBean

java.lang.Object
  extended by org.springframework.amqp.rabbit.config.BindingFactoryBean
All Implemented Interfaces:
FactoryBean<Binding>

public class BindingFactoryBean
extends Object
implements FactoryBean<Binding>

Author:
Dave Syer

Constructor Summary
BindingFactoryBean()
           
 
Method Summary
 Binding getObject()
           
 Class<?> getObjectType()
           
 boolean isSingleton()
           
 void setArguments(Map<String,Object> arguments)
           
 void setDestinationExchange(Exchange destinationExchange)
           
 void setDestinationQueue(Queue destinationQueue)
           
 void setExchange(String exchange)
           
 void setRoutingKey(String routingKey)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BindingFactoryBean

public BindingFactoryBean()
Method Detail

setArguments

public void setArguments(Map<String,Object> arguments)

setRoutingKey

public void setRoutingKey(String routingKey)

setExchange

public void setExchange(String exchange)

setDestinationQueue

public void setDestinationQueue(Queue destinationQueue)

setDestinationExchange

public void setDestinationExchange(Exchange destinationExchange)

getObject

public Binding getObject()
                  throws Exception
Specified by:
getObject in interface FactoryBean<Binding>
Throws:
Exception

getObjectType

public Class<?> getObjectType()
Specified by:
getObjectType in interface FactoryBean<Binding>

isSingleton

public boolean isSingleton()
Specified by:
isSingleton in interface FactoryBean<Binding>

Spring AMQP

Copyright © 2011. All Rights Reserved.