Removed untyped contructor from ComponentRegistration and add a protected setter.
[castle.git] / MonoRail / Castle.MonoRail.Framework / IMonoRailServices.cs
blob7975d50eadf03ac5c2f8b3f921665fa9a69265b7
1 // Copyright 2004-2008 Castle Project - http://www.castleproject.org/
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
6 //
7 // http://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
15 namespace Castle.MonoRail.Framework
17 using Castle.Components.Common.EmailSender;
18 using Castle.Components.Validator;
19 using Castle.Core;
20 using Castle.MonoRail.Framework.Services;
21 using Resources;
23 /// <summary>
24 /// Pendent
25 /// </summary>
26 public interface IMonoRailServices : IServiceProviderEx
28 /// <summary>
29 /// Gets or sets the URL tokenizer.
30 /// </summary>
31 /// <value>The URL tokenizer.</value>
32 IUrlTokenizer UrlTokenizer { get; set; }
34 /// <summary>
35 /// Gets or sets the URL builder.
36 /// </summary>
37 /// <value>The URL builder.</value>
38 IUrlBuilder UrlBuilder { get; set; }
40 /// <summary>
41 /// Gets or sets the cache provider.
42 /// </summary>
43 /// <value>The cache provider.</value>
44 ICacheProvider CacheProvider { get; set; }
46 /// <summary>
47 /// Gets or sets the engine context factory.
48 /// </summary>
49 /// <value>The engine context factory.</value>
50 IEngineContextFactory EngineContextFactory { get; set; }
52 /// <summary>
53 /// Gets or sets the controller factory.
54 /// </summary>
55 /// <value>The controller factory.</value>
56 IControllerFactory ControllerFactory { get; set; }
58 /// <summary>
59 /// Gets or sets the controller context factory.
60 /// </summary>
61 /// <value>The controller context factory.</value>
62 IControllerContextFactory ControllerContextFactory { get; set; }
64 /// <summary>
65 /// Gets or sets the controller tree.
66 /// </summary>
67 /// <value>The controller tree.</value>
68 IControllerTree ControllerTree { get; set; }
70 /// <summary>
71 /// Gets or sets the view source loader.
72 /// </summary>
73 /// <value>The view source loader.</value>
74 IViewSourceLoader ViewSourceLoader { get; set; }
76 /// <summary>
77 /// Gets or sets the filter factory.
78 /// </summary>
79 /// <value>The filter factory.</value>
80 IFilterFactory FilterFactory { get; set; }
82 /// <summary>
83 /// Gets or sets the controller descriptor provider.
84 /// </summary>
85 /// <value>The controller descriptor provider.</value>
86 IControllerDescriptorProvider ControllerDescriptorProvider { get; set; }
88 /// <summary>
89 /// Gets or sets the view engine manager.
90 /// </summary>
91 /// <value>The view engine manager.</value>
92 IViewEngineManager ViewEngineManager { get; set; }
94 /// <summary>
95 /// Gets or sets the validator registry.
96 /// </summary>
97 /// <value>The validator registry.</value>
98 IValidatorRegistry ValidatorRegistry { get; set; }
100 /// <summary>
101 /// Gets or sets the action selector.
102 /// </summary>
103 /// <value>The action selector.</value>
104 IActionSelector ActionSelector { get; set; }
106 /// <summary>
107 /// Gets or sets the scaffold support.
108 /// </summary>
109 /// <value>The scaffold support.</value>
110 IScaffoldingSupport ScaffoldSupport { get; set; }
112 /// <summary>
113 /// Gets or sets the JSON serializer.
114 /// </summary>
115 /// <value>The JSON serializer.</value>
116 IJSONSerializer JSONSerializer { get; set; }
118 /// <summary>
119 /// Gets or sets the static resource registry service.
120 /// </summary>
121 /// <value>The static resource registry.</value>
122 IStaticResourceRegistry StaticResourceRegistry { get; set; }
124 /// <summary>
125 /// Gets or sets the email template service.
126 /// </summary>
127 /// <value>The email template service.</value>
128 IEmailTemplateService EmailTemplateService { get; set; }
130 /// <summary>
131 /// Gets or sets the email sender.
132 /// </summary>
133 /// <value>The email sender.</value>
134 IEmailSender EmailSender { get; set; }
136 /// <summary>
137 /// Gets or sets the resource factory.
138 /// </summary>
139 /// <value>The resource factory.</value>
140 IResourceFactory ResourceFactory { get; set; }
142 /// <summary>
143 /// Gets or sets the service initializer.
144 /// </summary>
145 /// <value>The service initializer.</value>
146 IServiceInitializer ServiceInitializer { get; set; }
148 /// <summary>
149 /// Gets or sets the helper factory.
150 /// </summary>
151 /// <value>The helper factory.</value>
152 IHelperFactory HelperFactory { get; set; }
154 /// <summary>
155 /// Gets or sets the extension manager.
156 /// </summary>
157 /// <value>The extension manager.</value>
158 ExtensionManager ExtensionManager { get; set; }