02-09-2006 04:33 PM
02-10-2006 12:06 PM
<listener>
<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
</listener>
…
<context-param>
<param-name>contextConfigLocation</param-name>
<param-value>
classpath:alfresco/jcr-context.xml
</param-value>
<description>Spring config file locations</description>
</context-param>
context = WebApplicationContextUtils.getRequiredApplicationContext(ServletContext)
Repository repository = (Repository)context.getBean("JCR.Repository");
02-10-2006 05:49 PM
02-10-2006 06:07 PM
02-13-2006 09:31 AM
02-15-2006 10:57 AM
02-16-2006 12:00 PM
05-31-2006 03:18 PM
ApplicationContext context = new ClassPathXmlApplicationContext("classpath:alfresco/application-context.xml");
repository = (Repository) context.getBean("JCR.Repository");
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.