Loading archetypes/alfresco-allinone-archetype/src/main/resources/archetype-resources/__rootArtifactId__-repo-amp/src/main/amp/config/alfresco/module/__artifactId__/module-context.xml +4 −1 Original line number Diff line number Diff line Loading @@ -21,8 +21,11 @@ <beans> <!-- This is filtered by Maven at build time, so that module name is single sourced. --> <import resource="classpath:alfresco/module/${project.artifactId}/context/service-context.xml" /> <!-- Note. The bootstrap-context.xml file has to be loaded first. Otherwise your custom models are not yet loaded when your service beans are instantiated and you cannot for example register policies on them. --> <import resource="classpath:alfresco/module/${project.artifactId}/context/bootstrap-context.xml" /> <import resource="classpath:alfresco/module/${project.artifactId}/context/service-context.xml" /> <import resource="classpath:alfresco/module/${project.artifactId}/context/webscript-context.xml" /> </beans> archetypes/alfresco-amp-archetype/src/main/resources/archetype-resources/src/main/amp/config/alfresco/module/__artifactId__/module-context.xml +4 −1 Original line number Diff line number Diff line Loading @@ -19,8 +19,11 @@ <beans> <!-- This is filtered by Maven at build time, so that module name is single sourced. --> <import resource="classpath:alfresco/module/${project.artifactId}/context/service-context.xml" /> <!-- Note. The bootstrap-context.xml file has to be loaded first. Otherwise your custom models are not yet loaded when your service beans are instantiated and you cannot for example register policies on them. --> <import resource="classpath:alfresco/module/${project.artifactId}/context/bootstrap-context.xml" /> <import resource="classpath:alfresco/module/${project.artifactId}/context/service-context.xml" /> <import resource="classpath:alfresco/module/${project.artifactId}/context/webscript-context.xml" /> </beans> Loading
archetypes/alfresco-allinone-archetype/src/main/resources/archetype-resources/__rootArtifactId__-repo-amp/src/main/amp/config/alfresco/module/__artifactId__/module-context.xml +4 −1 Original line number Diff line number Diff line Loading @@ -21,8 +21,11 @@ <beans> <!-- This is filtered by Maven at build time, so that module name is single sourced. --> <import resource="classpath:alfresco/module/${project.artifactId}/context/service-context.xml" /> <!-- Note. The bootstrap-context.xml file has to be loaded first. Otherwise your custom models are not yet loaded when your service beans are instantiated and you cannot for example register policies on them. --> <import resource="classpath:alfresco/module/${project.artifactId}/context/bootstrap-context.xml" /> <import resource="classpath:alfresco/module/${project.artifactId}/context/service-context.xml" /> <import resource="classpath:alfresco/module/${project.artifactId}/context/webscript-context.xml" /> </beans>
archetypes/alfresco-amp-archetype/src/main/resources/archetype-resources/src/main/amp/config/alfresco/module/__artifactId__/module-context.xml +4 −1 Original line number Diff line number Diff line Loading @@ -19,8 +19,11 @@ <beans> <!-- This is filtered by Maven at build time, so that module name is single sourced. --> <import resource="classpath:alfresco/module/${project.artifactId}/context/service-context.xml" /> <!-- Note. The bootstrap-context.xml file has to be loaded first. Otherwise your custom models are not yet loaded when your service beans are instantiated and you cannot for example register policies on them. --> <import resource="classpath:alfresco/module/${project.artifactId}/context/bootstrap-context.xml" /> <import resource="classpath:alfresco/module/${project.artifactId}/context/service-context.xml" /> <import resource="classpath:alfresco/module/${project.artifactId}/context/webscript-context.xml" /> </beans>