org.shept.org.springframework.web.servlet.mvc.delegation.configuration
Class TargetConfiguration

java.lang.Object
  extended by org.shept.org.springframework.web.servlet.mvc.delegation.configuration.TargetConfiguration
All Implemented Interfaces:
org.springframework.beans.factory.BeanNameAware, org.springframework.beans.factory.InitializingBean, org.springframework.context.ApplicationContextAware
Direct Known Subclasses:
ChainConfiguration

public class TargetConfiguration
extends Object
implements org.springframework.beans.factory.InitializingBean, org.springframework.context.ApplicationContextAware, org.springframework.beans.factory.BeanNameAware

Author:
Andreas Hahn

Field Summary
private  CommandFactory commandFactory
           
protected  org.springframework.context.ApplicationContext context
           
private  String[] disabled
           
private  ActionConfiguration disabledActions
           
private  Class<?> entityClass
           
private  Class<FilterDefinition> filterClass
           
private  String filterInitMethod
           
private  InfoItem info
           
protected  org.apache.commons.logging.Log logger
          Logger that is available to subclasses
private  String name
           
private  PageHolderFactory pageHolderFactory
           
private  SegmentConfiguration to
           
 
Constructor Summary
TargetConfiguration()
           
 
Method Summary
 void afterPropertiesSet()
           
protected  CommandFactory createCommandFactory()
           
 String getBeanName()
           
 String getChainNameDisplay()
           
 CommandFactory getCommandFactory()
           
 ActionConfiguration getDisabledActions()
           
 Class<?> getEntityClass()
           
 Class<FilterDefinition> getFilterClass()
           
 String getFilterInitMethod()
           
 InfoItem getInfo()
           
 SegmentConfiguration getTo()
           
 void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
           
 void setBeanName(String name)
           
 void setCommandFactory(CommandFactory commandFactory)
           
 void setDisabled(String[] disabled)
           
 void setDisabledActions(ActionConfiguration disabledActions)
           
 void setEntityClass(Class<?> entityClass)
           
 void setFilterClass(Class<FilterDefinition> filterClass)
           
 void setFilterInitMethod(String filterInitMethod)
           
 void setInfo(InfoItem info)
           
 void setInfo(String code)
           
 void setPageHolderFactory(PageHolderFactory pageHolderFactory)
           
 void setTo(SegmentConfiguration to)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected final org.apache.commons.logging.Log logger
Logger that is available to subclasses


context

protected org.springframework.context.ApplicationContext context

name

private String name

entityClass

private Class<?> entityClass

filterClass

private Class<FilterDefinition> filterClass

filterInitMethod

private String filterInitMethod

to

private SegmentConfiguration to

commandFactory

private CommandFactory commandFactory

info

private InfoItem info

pageHolderFactory

private PageHolderFactory pageHolderFactory

disabled

private String[] disabled

disabledActions

private ActionConfiguration disabledActions
Constructor Detail

TargetConfiguration

public TargetConfiguration()
Method Detail

getEntityClass

public Class<?> getEntityClass()
Returns:
the entityClass

setEntityClass

public void setEntityClass(Class<?> entityClass)
Parameters:
entityClass - the entityClass to set

getFilterClass

public Class<FilterDefinition> getFilterClass()
Returns:
the filterClass

setFilterClass

public void setFilterClass(Class<FilterDefinition> filterClass)
Parameters:
filterClass - the filterClass to set

getInfo

public InfoItem getInfo()
Returns:
the info

setInfo

public void setInfo(InfoItem info)
Parameters:
info - the info to set

setInfo

public void setInfo(String code)

getTo

public SegmentConfiguration getTo()
Returns:
the to

setTo

public void setTo(SegmentConfiguration to)
Parameters:
to - the to to set

getCommandFactory

public CommandFactory getCommandFactory()
Returns:
the commandFactory

setCommandFactory

public void setCommandFactory(CommandFactory commandFactory)
Parameters:
commandFactory - the commandFactory to set

getBeanName

public String getBeanName()
Returns:
the name

setBeanName

public void setBeanName(String name)
Specified by:
setBeanName in interface org.springframework.beans.factory.BeanNameAware

setPageHolderFactory

public void setPageHolderFactory(PageHolderFactory pageHolderFactory)
Parameters:
pageHolderFactory - the pageHolderFactory to set

getChainNameDisplay

public String getChainNameDisplay()

setApplicationContext

public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
                           throws org.springframework.beans.BeansException
Specified by:
setApplicationContext in interface org.springframework.context.ApplicationContextAware
Throws:
org.springframework.beans.BeansException

createCommandFactory

protected CommandFactory createCommandFactory()

getFilterInitMethod

public String getFilterInitMethod()
Returns:
the filterInitMethod

setDisabled

public void setDisabled(String[] disabled)
Parameters:
disabled - the disabled to set

getDisabledActions

public ActionConfiguration getDisabledActions()
Returns:
the disabledActions

setDisabledActions

public void setDisabledActions(ActionConfiguration disabledActions)
Parameters:
disabledActions - the disabledActions to set

setFilterInitMethod

public void setFilterInitMethod(String filterInitMethod)
Parameters:
filterInitMethod - the filterInitMethod to set

afterPropertiesSet

public void afterPropertiesSet()
                        throws Exception
Specified by:
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
Throws:
Exception


Copyright © 2011. All Rights Reserved.