Clover.NET coverage report - Coverage for s2container.net

Coverage timestamp: 2006年5月30日 11:21:29

File Stats: LOC: 97   Methods: 0
NCLOC: 23 Classes: 1
 
Source File Conditionals Statements Methods TOTAL
Seasar.Framework.Container\IComponentDef.cs - - - -
coverage
1   #region Copyright
2   /*
3   * Copyright 2005 the Seasar Foundation and the Others.
4   *
5   * Licensed under the Apache License, Version 2.0 (the "License");
6   * you may not use this file except in compliance with the License.
7   * You may obtain a copy of the License at
8   *
9   * http://www.apache.org/licenses/LICENSE-2.0
10   *
11   * Unless required by applicable law or agreed to in writing, software
12   * distributed under the License is distributed on an "AS IS" BASIS,
13   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
14   * either express or implied. See the License for the specific language
15   * governing permissions and limitations under the License.
16   */
17   #endregion
18  
19   using System;
20  
21   namespace Seasar.Framework.Container
22   {
23   /// <summary>
24   /// コンポーネントの定義をします
25   /// </summary>
26   public interface IComponentDef : IArgDefAware, IPropertyDefAware, IInitMethodDefAware,
27   IDestroyMethodDefAware, IAspectDefAware,IMetaDefAware
28   {
29   /// <summary>
30   /// コンポーネントを取得します
31   /// </summary>
32   /// <returns>コンポーネント</returns>
33   object GetComponent();
34  
35   /// <summary>
36   /// 受け取る型を指定してコンポーネントを取得します
37   /// </summary>
38   /// <param name="receiveType">受け取る型</param>
39   /// <returns>コンポーネント</returns>
40   object GetComponent(Type receiveType);
41  
42   /// <summary>
43   /// 外部コンポーネントにプロパティ・インジェクション、
44   /// メソッド・インジェクションを実行します。
45   /// 外部コンポーネントと互換性のあるコンポーネント定義を利用します。
46   /// instanceモードが"outer"と定義されたコンポーネントのみ有効です。
47   /// </summary>
48   /// <param name="outerComponent">外部コンポーネント</param>
49   void InjectDependency(Object outerComponent);
50  
51   /// <summary>
52   /// S2Container
53   /// </summary>
54   IS2Container Container{set;get;}
55  
56   /// <summary>
57   /// コンポーネントのType
58   /// </summary>
59   Type ComponentType{get;}
60  
61   /// <summary>
62   /// コンポーネントの名前
63   /// </summary>
64   string ComponentName{get;}
65  
66   /// <summary>
67   /// 自動バインディングモード
68   /// </summary>
69   string AutoBindingMode{set;get;}
70  
71   /// <summary>
72   /// インスタンスモード
73   /// </summary>
74   string InstanceMode{set;get;}
75  
76   /// <summary>
77   /// Expression
78   /// </summary>
79   string Expression{set;get;}
80  
81   /// <summary>
82   /// コンポーネントの定義を初期化します。
83   /// </summary>
84   void Init();
85  
86   /// <summary>
87   /// プロキシを取得します。
88   /// </summary>
89   object GetProxy(Type proxyType);
90  
91   void AddProxy(Type proxyType, object proxy);
92  
93   void Destroy();
94  
95   }
96   }
97