Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Context files need to end up within the JAR
- Loading branch information
Showing
2 changed files
with
30 additions
and
0 deletions.
There are no files selected for viewing
15 changes: 15 additions & 0 deletions
15
src/main/resources/org/springframework/extensions/surf/clojure-surf-context.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<?xml version='1.0' encoding='UTF-8'?> | ||
<beans xmlns="http://www.springframework.org/schema/beans" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation=" | ||
http://www.springframework.org/schema/beans | ||
http://www.springframework.org/schema/beans/spring-beans-2.5.xsd"> | ||
|
||
<!-- Register the Clojure script processor --> | ||
<bean id="webframework.registrar.clojurescriptprocessor" class="org.springframework.extensions.surf.ScriptProcessorRegistrar" init-method="init"> | ||
<property name="factory"> | ||
<bean class="org.springframework.extensions.webscripts.processor.ClojureScriptProcessorFactory" /> | ||
</property> | ||
</bean> | ||
|
||
</beans> |
15 changes: 15 additions & 0 deletions
15
src/main/resources/org/springframework/extensions/webscripts/clojure-webscripts-context.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<?xml version='1.0' encoding='UTF-8'?> | ||
<beans xmlns="http://www.springframework.org/schema/beans" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation=" | ||
http://www.springframework.org/schema/beans | ||
http://www.springframework.org/schema/beans/spring-beans-2.5.xsd"> | ||
|
||
<!-- Register the Clojure script processor --> | ||
<bean id="webscripts.registrar.clojureScriptprocessor" class="org.springframework.extensions.webscripts.ScriptProcessorRegistrar" init-method="init"> | ||
<property name="factory"> | ||
<bean class="org.springframework.extensions.webscripts.processor.ClojureScriptProcessorFactory" /> | ||
</property> | ||
</bean> | ||
|
||
</beans> |