public class JRChainBase extends org.apache.commons.chain.impl.ChainBase implements JRCommand, org.springframework.beans.factory.BeanFactoryAware, org.springframework.beans.factory.InitializingBean
| Modifier and Type | Field and Description |
|---|---|
protected HandlerConfigurationItem |
config |
| Constructor and Description |
|---|
JRChainBase() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
boolean |
doesHandle(JRadiusEvent event)
Tests whether or not this handler handles the given JRadiusEvent.
|
boolean |
execute(org.apache.commons.chain.Context context) |
String |
getName() |
void |
setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory) |
void |
setConfig(ConfigurationItem cfg)
Set the ConfigurationItem of this handler.
|
void |
setName(String name) |
protected HandlerConfigurationItem config
public void setName(String name)
public String getName()
public void setConfig(ConfigurationItem cfg)
JRCommandpublic boolean doesHandle(JRadiusEvent event)
JRCommanddoesHandle in interface JRCommandevent - The JRadiusEvent (or JRadiusRequest) to be checkedpublic boolean execute(org.apache.commons.chain.Context context)
throws Exception
execute in interface org.apache.commons.chain.Chainexecute in interface org.apache.commons.chain.Commandexecute in class org.apache.commons.chain.impl.ChainBaseExceptionpublic void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory)
throws org.springframework.beans.BeansException
setBeanFactory in interface org.springframework.beans.factory.BeanFactoryAwareorg.springframework.beans.BeansExceptionCopyright © 2017. All rights reserved.