public class RelWebPathToAbsoluteTransformer extends Object implements Supplier<String>, FunctionTransformer<String,String>, IOnApplicationStartup
Constructor and Description |
---|
RelWebPathToAbsoluteTransformer() |
RelWebPathToAbsoluteTransformer(RelWebPathToAbsoluteTransformer proxy) |
Modifier and Type | Method and Description |
---|---|
String |
get() |
String |
getBaseWebAbsolutePath() |
String |
getRelPath()
Optional
If not null will append this to the baseWebAbsolutePath |
void |
initEnd(org.springframework.context.ApplicationContext appContext,
javax.servlet.ServletContext servletContext)
Initialize immediately prior to the default initialization activities in the
SiteApplication The method is provided with any context information it may need like Spring Context of the Application & the Servlet Context. |
void |
initStart(org.springframework.context.ApplicationContext appContext,
javax.servlet.ServletContext servletContext)
Initialize immediately prior to the default initialization activities in the
SiteApplication The method is provided with any context information it may need like Spring Context of the Application & the Servlet Context. |
void |
setBaseWebAbsolutePath(String baseWebAbsolutePath) |
void |
setRelPath(String relPath)
Optional
If not null will append this to the baseWebAbsolutePath |
Object |
transform(Object input) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
apply
public RelWebPathToAbsoluteTransformer()
public RelWebPathToAbsoluteTransformer(RelWebPathToAbsoluteTransformer proxy)
public Object transform(Object input)
transform
in interface org.apache.commons.collections.Transformer
public void initStart(org.springframework.context.ApplicationContext appContext, javax.servlet.ServletContext servletContext) throws Exception
IOnApplicationStartup
SiteApplication
initStart
in interface IOnApplicationStartup
appContext
- as ApplicationContext
Exception
- (checked Exceptions will be trapped and logged but will not interfere with Application startup, however RuntimeException
s can disrupt startup routine)public void initEnd(org.springframework.context.ApplicationContext appContext, javax.servlet.ServletContext servletContext) throws Exception
IOnApplicationStartup
SiteApplication
initEnd
in interface IOnApplicationStartup
Exception
- (checked Exceptions will be trapped and logged but will not interfere with Application startup, however RuntimeException
s can disrupt startup routine)public String getRelPath()
baseWebAbsolutePath
public void setRelPath(String relPath)
baseWebAbsolutePath
public String getBaseWebAbsolutePath()
public void setBaseWebAbsolutePath(String baseWebAbsolutePath)
Copyright © 2018. All rights reserved.