利用者向け情報

開発者向け情報

[mayaa]/trunk/mayaa/src-impl/org/seasar/mayaa/impl/provider/factory/org.seasar.mayaa.provider.ServiceProvider

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2417 - (show annotations)
Sun Apr 2 00:31:24 2006 JST (8 years, 5 months ago) by suga
File size: 4931 byte(s)
loadのScriptをキャッシュするよう変更
CycleFactoryImplのパラメータでスタンダードスコープを追加できるよう変更 (CycleUtilでも可能)
Engine#doServiceにMapを渡せるよう変更
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!DOCTYPE provider
3 PUBLIC "-//The Seasar Foundation//DTD Mayaa Provider 1.0//EN"
4 "http://mayaa.seasar.org/dtd/mayaa-provider_1_0.dtd">
5 <provider class="org.seasar.mayaa.impl.provider.ServiceProviderImpl">
6
7 <engine class="org.seasar.mayaa.impl.engine.EngineImpl">
8 <errorHandler class="org.seasar.mayaa.impl.engine.error.TemplateErrorHandler">
9 <parameter name="folder" value="/"/>
10 <parameter name="extension" value="html"/>
11 </errorHandler>
12 <parameter name="pageClass" value="org.seasar.mayaa.impl.engine.PageImpl"/>
13 <parameter name="templateClass" value="org.seasar.mayaa.impl.engine.TemplateImpl"/>
14 <parameter name="defaultSpecification" value="/default.mayaa"/>
15 <parameter name="checkTimestamp" value="true"/>
16 <parameter name="suffixSeparator" value="$"/>
17 <parameter name="welcomeFileName" value="index.html"/>
18 <parameter name="requestCharacterEncoding" value="UTF-8"/>
19 </engine>
20
21 <scriptEnvironment class="org.seasar.mayaa.impl.cycle.script.rhino.ScriptEnvironmentImpl">
22 <scope class="org.seasar.mayaa.impl.cycle.scope.ParamScope"/>
23 <scope class="org.seasar.mayaa.impl.cycle.scope.HeaderScope"/>
24 <scope class="org.seasar.mayaa.impl.cycle.scope.BindingScope"/>
25 <parameter name="wrapFactory" value="org.seasar.mayaa.impl.cycle.script.rhino.WrapFactoryImpl"/>
26 </scriptEnvironment>
27
28 <specificationBuilder class="org.seasar.mayaa.impl.builder.SpecificationBuilderImpl">
29 <parameter name="outputTemplateWhitespace" value="true"/>
30 <parameter name="outputMayaaWhitespace" value="false"/>
31 </specificationBuilder>
32
33 <libraryManager class="org.seasar.mayaa.impl.builder.library.LibraryManagerImpl">
34 <converter name="ProcessorProperty" class="org.seasar.mayaa.impl.builder.library.converter.ProcessorPropertyConverter"/>
35 <converter name="PrefixAwareName" class="org.seasar.mayaa.impl.builder.library.converter.PrefixAwareNameConverter"/>
36 <scanner class="org.seasar.mayaa.impl.builder.library.scanner.FolderSourceScanner">
37 <parameter name="folder" value="/WEB-INF"/>
38 <parameter name="recursive" value="true"/>
39 <parameter name="extension" value=".tld"/>
40 <parameter name="extension" value=".mld"/>
41 </scanner>
42 <scanner class="org.seasar.mayaa.impl.builder.library.scanner.MetaInfSourceScanner">
43 <parameter name="folder" value="/WEB-INF/lib"/>
44 <parameter name="extension" value=".jar"/>
45 <parameter name="ignore" value="commons-beanutils-"/>
46 <parameter name="ignore" value="commons-logging-"/>
47 <parameter name="ignore" value="nekohtml-"/>
48 <parameter name="ignore" value="jaxen-"/>
49 <parameter name="ignore" value="xml-apis-"/>
50 <parameter name="ignore" value="xercesImpl-"/>
51 <parameter name="ignore" value="rhino-"/>
52 </scanner>
53 <scanner class="org.seasar.mayaa.impl.builder.library.scanner.DefaultSourceScanner"/>
54
55 <!-- after scan jars -->
56 <scanner class="org.seasar.mayaa.impl.builder.library.scanner.WebXMLTaglibSourceScanner"/>
57
58 <builder class="org.seasar.mayaa.impl.builder.library.MLDDefinitionBuilder"/>
59 <builder class="org.seasar.mayaa.impl.builder.library.TLDDefinitionBuilder"/>
60 </libraryManager>
61
62 <templateBuilder class="org.seasar.mayaa.impl.builder.TemplateBuilderImpl">
63 <resolver class="org.seasar.mayaa.impl.builder.injection.MetaValuesSetter"/>
64 <resolver class="org.seasar.mayaa.impl.builder.injection.ReplaceSetter"/>
65 <resolver class="org.seasar.mayaa.impl.builder.injection.RenderedSetter"/>
66 <resolver class="org.seasar.mayaa.impl.builder.injection.InsertSetter"/>
67 <resolver class="org.seasar.mayaa.impl.builder.injection.InjectAttributeInjectionResolver"/>
68 <resolver class="org.seasar.mayaa.impl.builder.injection.EqualsIDInjectionResolver">
69 <parameter name="reportUnresolvedID" value="true"/>
70 <parameter name="addAttribute" value="{http://www.w3.org/TR/html4}id"/>
71 <parameter name="addAttribute" value="{http://www.w3.org/1999/xhtml}id"/>
72 </resolver>
73 <resolver class="org.seasar.mayaa.impl.builder.injection.XPathMatchesInjectionResolver"/>
74 <parameter name="outputTemplateWhitespace" value="true"/>
75 <parameter name="outputMayaaWhitespace" value="false"/>
76 <parameter name="optimize" value="true"/>
77 </templateBuilder>
78
79 <pathAdjuster class="org.seasar.mayaa.impl.builder.PathAdjusterImpl">
80 <parameter name="enabled" value="true"/>
81 </pathAdjuster>
82
83 <templateAttributeReader
84 class="org.seasar.mayaa.impl.builder.library.TemplateAttributeReaderImpl">
85 <!-- example
86 <ignoreAttribute
87 qName="{http://struts.apache.org/tags-html}errors"
88 attribute="id"/>
89 <aliasAttribute
90 qName="{http://struts.apache.org/tags-html}*"
91 attribute="styleId"
92 templateAttribute="id" />
93 -->
94 <parameter name="enabled" value="false"/>
95 </templateAttributeReader>
96
97 </provider>

Repository Top
ViewVC Help  
ViewVC logotype
Powered by ViewVC