org.shept.org.springframework.web.servlet.mvc.delegation.command
public abstract class AbstractCommandFactory extends Object implements TargetCommandFactory, org.springframework.context.ApplicationContextAware, org.springframework.beans.factory.InitializingBean
| Modifier and Type | Field and Description |
|---|---|
private org.springframework.context.ApplicationContext |
ctx |
protected org.apache.commons.logging.Log |
logger
Logger that is available to subclasses
|
private PageHolderFactory |
pageHolderFactory |
| Constructor and Description |
|---|
AbstractCommandFactory() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
org.springframework.context.ApplicationContext |
getApplicationContext() |
Object |
getCommand(ComponentToken token) |
Object |
getCommand(javax.servlet.http.HttpServletRequest request,
ComponentToken token) |
abstract Object |
getCommand(TargetConfiguration config,
Object referencedModel) |
PageHolderFactory |
getPageHolderFactory() |
void |
setApplicationContext(org.springframework.context.ApplicationContext ctx) |
void |
setPageHolderFactory(PageHolderFactory pageHolderFactory) |
protected final org.apache.commons.logging.Log logger
private org.springframework.context.ApplicationContext ctx
private PageHolderFactory pageHolderFactory
public Object getCommand(ComponentToken token)
public Object getCommand(javax.servlet.http.HttpServletRequest request, ComponentToken token)
getCommand in interface CommandFactorypublic abstract Object getCommand(TargetConfiguration config, Object referencedModel)
getCommand in interface TargetCommandFactorypublic PageHolderFactory getPageHolderFactory()
public void setPageHolderFactory(PageHolderFactory pageHolderFactory)
pageHolderFactory - the pageHolderFactory to setpublic org.springframework.context.ApplicationContext getApplicationContext()
public void setApplicationContext(org.springframework.context.ApplicationContext ctx)
setApplicationContext in interface org.springframework.context.ApplicationContextAwarectx - the ctx to setpublic void afterPropertiesSet()
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanCopyright © 2014. All Rights Reserved.