public class Router extends Object
Modifier and Type | Field and Description |
---|---|
protected ConfigurationManager |
configurationManager |
protected DNSCache |
dnsCache |
protected ExchangeStore |
exchangeStore |
protected ResourceResolver |
resourceResolver |
protected RuleManager |
ruleManager |
protected Transport |
transport |
Constructor and Description |
---|
Router() |
Modifier and Type | Method and Description |
---|---|
<E> E |
getBean(String id,
Class<E> clazz) |
static org.springframework.context.support.AbstractApplicationContext |
getBeanFactory() |
ConfigurationManager |
getConfigurationManager() |
DNSCache |
getDnsCache() |
ExchangeStore |
getExchangeStore() |
static Router |
getInstance() |
Interceptor |
getInterceptorFor(String id) |
Collection<Interceptor> |
getInterceptors() |
ResourceResolver |
getResourceResolver() |
RuleManager |
getRuleManager() |
Transport |
getTransport() |
static Router |
init(String configFileName) |
static Router |
init(String resource,
ClassLoader classLoader) |
static void |
setBeanFactory(org.springframework.context.support.AbstractApplicationContext beanFactory) |
void |
setExchangeStore(ExchangeStore exchangeStore) |
void |
setResourceResolver(ResourceResolver resourceResolver) |
void |
setRuleManager(RuleManager ruleManager) |
void |
setTransport(Transport transport) |
protected RuleManager ruleManager
protected ExchangeStore exchangeStore
protected Transport transport
protected final ConfigurationManager configurationManager
protected ResourceResolver resourceResolver
protected DNSCache dnsCache
public static Router init(String configFileName) throws MalformedURLException
MalformedURLException
public static Router init(String resource, ClassLoader classLoader)
public static Router getInstance()
public RuleManager getRuleManager()
public void setRuleManager(RuleManager ruleManager)
public ExchangeStore getExchangeStore()
public void setExchangeStore(ExchangeStore exchangeStore)
public Transport getTransport()
public void setTransport(Transport transport)
public ConfigurationManager getConfigurationManager()
public Collection<Interceptor> getInterceptors()
public Interceptor getInterceptorFor(String id)
public DNSCache getDnsCache()
public ResourceResolver getResourceResolver()
public void setResourceResolver(ResourceResolver resourceResolver)
public static org.springframework.context.support.AbstractApplicationContext getBeanFactory()
public static void setBeanFactory(org.springframework.context.support.AbstractApplicationContext beanFactory)
Copyright © 2012. All Rights Reserved.