Fixing method argument names

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@708110 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
James William Dumay 2008-10-27 08:53:36 +00:00
parent 025021505f
commit 0f96096d44
1 changed files with 4 additions and 5 deletions

View File

@ -38,11 +38,8 @@ import org.springframework.web.context.support.WebApplicationContextUtils;
public class ArchivaStartup
implements ServletContextListener
{
public void contextDestroyed(ServletContextEvent arg0) {
}
public void contextInitialized(ServletContextEvent arg0) {
WebApplicationContext wac = WebApplicationContextUtils.getRequiredWebApplicationContext(arg0.getServletContext());
public void contextInitialized(ServletContextEvent contextEvent) {
WebApplicationContext wac = WebApplicationContextUtils.getRequiredWebApplicationContext(contextEvent.getServletContext());
SecuritySynchronization securitySync = (SecuritySynchronization) wac.getBean(PlexusToSpringUtils.buildSpringId(SecuritySynchronization.class));
ResolverFactoryInit resolverFactory = (ResolverFactoryInit) wac.getBean(PlexusToSpringUtils.buildSpringId(ResolverFactoryInit.class));
@ -64,4 +61,6 @@ public class ArchivaStartup
}
}
public void contextDestroyed(ServletContextEvent contextEvent) {
}
}