From: <bra...@us...> - 2008-08-11 23:53:23
|
Revision: 2535 http://archive-access.svn.sourceforge.net/archive-access/?rev=2535&view=rev Author: bradtofel Date: 2008-08-11 23:53:31 +0000 (Mon, 11 Aug 2008) Log Message: ----------- TWEAK: now ferrets away original beanName, which can be accessed through the new getter Modified Paths: -------------- trunk/archive-access/projects/wayback/wayback-core/src/main/java/org/archive/wayback/webapp/AccessPoint.java Modified: trunk/archive-access/projects/wayback/wayback-core/src/main/java/org/archive/wayback/webapp/AccessPoint.java =================================================================== --- trunk/archive-access/projects/wayback/wayback-core/src/main/java/org/archive/wayback/webapp/AccessPoint.java 2008-08-11 23:25:34 UTC (rev 2534) +++ trunk/archive-access/projects/wayback/wayback-core/src/main/java/org/archive/wayback/webapp/AccessPoint.java 2008-08-11 23:53:31 UTC (rev 2535) @@ -81,6 +81,7 @@ private boolean useServerName = false; private int contextPort = 0; private String contextName = null; + private String beanName = null; private WaybackCollection collection = null; private ReplayDispatcher replay = null; private ExceptionRenderer exception = new BaseExceptionRenderer(); @@ -112,7 +113,7 @@ * @see org.springframework.beans.factory.BeanNameAware#setBeanName(java.lang.String) */ public void setBeanName(String beanName) { - // TODO Auto-generated method stub + this.beanName = beanName; this.contextName = ""; int idx = beanName.indexOf(":"); if(idx > -1) { @@ -126,6 +127,9 @@ } } } + public String getBeanName() { + return beanName; + } /** * @param httpRequest * @return the prefix of paths recieved by this server that are handled by This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |