User:
Date: 2010/01/26 02:21 PM
Modified:
/Facilities/AutomaticTransactionManagement/trunk/lib/net-3.5/
Castle.Core.dll, Castle.Core.xml, Castle.DynamicProxy2.dll,
Castle.DynamicProxy2.xml, Castle.MicroKernel.dll, Castle.MicroKernel.xml,
Castle.Services.Transaction.dll, Castle.Windsor.dll
/Facilities/AutomaticTransactionManagement/trunk/src/Castle.Facilities.AutomaticTransactionManagement.Tests/
ConfiguredComponents.cs
/Facilities/AutomaticTransactionManagement/trunk/src/Castle.Facilities.AutomaticTransactionManagement/
TransactionComponentInspector.cs, TransactionMetaInfoStore.cs
Log:
upgrade references to Core, DP and Windsor
File Changes:
Directory:
/Facilities/AutomaticTransactionManagement/trunk/src/Castle.Facilities.AutomaticTransactionManagement/
=================================================================================================================
File [modified]: TransactionComponentInspector.cs
Delta lines: +1 -1
===================================================================
---
Facilities/AutomaticTransactionManagement/trunk/src/Castle.Facilities.AutomaticTransactionManagement/TransactionMetaInfoStore.cs
2010-01-26 21:13:55 UTC (rev 6716)
+++
Facilities/AutomaticTransactionManagement/trunk/src/Castle.Facilities.AutomaticTransactionManagement/TransactionMetaInfoStore.cs
2010-01-26 21:21:29 UTC (rev 6717)
@@ -73,7 +73,7 @@
PopulateMetaInfoFromType(metaInfo,
implementation.BaseType);
}
- public TransactionMetaInfo CreateMetaFromConfig(Type
implementation, MethodInfo[] methods, IConfiguration config)
+ public TransactionMetaInfo CreateMetaFromConfig(Type
implementation, IList<MethodInfo> methods, IConfiguration config)
{
TransactionMetaInfo metaInfo =
GetMetaFor(implementation);
File [modified]: TransactionMetaInfoStore.cs
Delta lines: +2 -1
===================================================================
---
Facilities/AutomaticTransactionManagement/trunk/src/Castle.Facilities.AutomaticTransactionManagement.Tests/ConfiguredComponents.cs
2010-01-26 21:13:55 UTC (rev 6716)
+++
Facilities/AutomaticTransactionManagement/trunk/src/Castle.Facilities.AutomaticTransactionManagement.Tests/ConfiguredComponents.cs
2010-01-26 21:21:29 UTC (rev 6717)
@@ -14,6 +14,7 @@
namespace Castle.Facilities.AutomaticTransactionManagement.Tests
{
+ using System;
using System.Configuration;
using Castle.MicroKernel.Facilities;
@@ -55,7 +56,7 @@
Assert.AreEqual(3, meta.Methods.Length);
}
- [Test, ExpectedException(typeof(ConfigurationErrorsException))]
+ [Test, ExpectedException(typeof(Exception), ExpectedMessage =
"The class
Castle.Facilities.AutomaticTransactionManagement.Tests.TransactionalComp1 has
tried to expose configuration for a method named HelloGoodbye which could not
be found.")]
public void HasInvalidMethod()
{
Directory:
/Facilities/AutomaticTransactionManagement/trunk/src/Castle.Facilities.AutomaticTransactionManagement.Tests/
=======================================================================================================================
File [modified]: ConfiguredComponents.cs
Delta lines: +0 -0
===================================================================
Directory: /Facilities/AutomaticTransactionManagement/trunk/lib/net-3.5/
========================================================================
File [modified]: Castle.Core.dll
Delta lines: None
None
File [modified]: Castle.Core.xml
Delta lines: +137 -26
===================================================================
---
Facilities/AutomaticTransactionManagement/trunk/lib/net-3.5/Castle.DynamicProxy2.xml
2010-01-26 21:13:55 UTC (rev 6716)
+++
Facilities/AutomaticTransactionManagement/trunk/lib/net-3.5/Castle.DynamicProxy2.xml
2010-01-26 21:21:29 UTC (rev 6717)
@@ -155,7 +155,7 @@
</para>
</summary>
</member>
- <member
name="M:Castle.DynamicProxy.Generators.BaseProxyGenerator.SafeAddMapping(System.Type,Castle.DynamicProxy.Contributors.ITypeContributor,System.Collections.Generic.IDictionary{System.Type,Castle.DynamicProxy.Contributors.ITypeContributor})">
+ <member
name="M:Castle.DynamicProxy.Generators.BaseProxyGenerator.AddMappingNoCheck(System.Type,Castle.DynamicProxy.Contributors.ITypeContributor,System.Collections.Generic.IDictionary{System.Type,Castle.DynamicProxy.Contributors.ITypeContributor})">
<summary>
It is safe to add mapping (no mapping for the interface exists)
</summary>
@@ -163,28 +163,36 @@
<param name="interface"></param>
<param name="mapping"></param>
</member>
- <member
name="M:Castle.DynamicProxy.Generators.CacheKey.#ctor(System.Reflection.MemberInfo,System.Type[],Castle.DynamicProxy.ProxyGenerationOptions)">
+ <member
name="M:Castle.DynamicProxy.Generators.CacheKey.#ctor(System.Reflection.MemberInfo,System.Type,System.Type[],Castle.DynamicProxy.ProxyGenerationOptions)">
<summary>
Initializes a new instance of the <see
cref="T:Castle.DynamicProxy.Generators.CacheKey"/> class.
</summary>
+ <param name="target">Target element. This is either target type or
target method for invocation types.</param>
+ <param name="type">The type of the proxy. This is base type for
invocation types.</param>
+ <param name="interfaces">The interfaces.</param>
+ <param name="options">The options.</param>
+ </member>
+ <member
name="M:Castle.DynamicProxy.Generators.CacheKey.#ctor(System.Type,System.Type[],Castle.DynamicProxy.ProxyGenerationOptions)">
+ <summary>
+ Initializes a new instance of the <see
cref="T:Castle.DynamicProxy.Generators.CacheKey"/> class.
+ </summary>
<param name="target">Type of the target.</param>
<param name="interfaces">The interfaces.</param>
<param name="options">The options.</param>
</member>
- <member name="T:Castle.DynamicProxy.Generators.ClassProxyGenerator">
+ <member
name="M:Castle.DynamicProxy.Generators.InvocationTypeGenerator.GetCtorArgumentsAndBaseCtorToCall(System.Type,Castle.DynamicProxy.ProxyGenerationOptions,System.Reflection.ConstructorInfo@)">
<summary>
-
+ Generates the constructor for the class that extends
+ <see cref="T:Castle.DynamicProxy.AbstractInvocation"/>
</summary>
+ <param name="targetFieldType"></param>
+ <param name="proxyGenerationOptions"></param>
+ <param name="baseConstructor"></param>
</member>
- <member
name="M:Castle.DynamicProxy.Generators.EventToGenerate.#ctor(System.String,System.Type,Castle.DynamicProxy.Generators.MethodToGenerate,Castle.DynamicProxy.Generators.MethodToGenerate,System.Reflection.EventAttributes)">
+ <member name="T:Castle.DynamicProxy.Generators.ClassProxyGenerator">
<summary>
- Initializes a new instance of the <see
cref="T:Castle.DynamicProxy.Generators.EventToGenerate"/> class.
+
</summary>
- <param name="name">The name.</param>
- <param name="type">The type.</param>
- <param name="adder">The add method.</param>
- <param name="remover">The remove method.</param>
- <param name="attributes">The attributes.</param>
</member>
<member name="T:Castle.DynamicProxy.Generators.INamingScope">
<summary>
@@ -212,19 +220,21 @@
</summary>
<returns>New naming scope.</returns>
</member>
- <member
name="M:Castle.DynamicProxy.Generators.InvocationTypeGenerator.CreateIInvocationConstructor(System.Type,Castle.DynamicProxy.Generators.Emitters.AbstractTypeEmitter,Castle.DynamicProxy.ProxyGenerationOptions)">
+ <member
name="T:Castle.DynamicProxy.Generators.InterfaceProxyWithTargetGenerator">
<summary>
- Generates the constructor for the nested class that extends
- <see cref="T:Castle.DynamicProxy.AbstractInvocation"/>
+
</summary>
- <param name="targetFieldType"></param>
- <param name="nested"></param>
- <param name="proxyGenerationOptions"></param>
</member>
- <member
name="T:Castle.DynamicProxy.Generators.InterfaceProxyWithTargetGenerator">
+ <member
name="M:Castle.DynamicProxy.Generators.MetaEvent.#ctor(System.String,System.Type,System.Type,Castle.DynamicProxy.Generators.MetaMethod,Castle.DynamicProxy.Generators.MetaMethod,System.Reflection.EventAttributes)">
<summary>
-
+ Initializes a new instance of the <see
cref="T:Castle.DynamicProxy.Generators.MetaEvent"/> class.
</summary>
+ <param name="name">The name.</param>
+ <param name="declaringType">Type declaring the original event
being overriten, or null.</param>
+ <param name="eventDelegateType"></param>
+ <param name="adder">The add method.</param>
+ <param name="remover">The remove method.</param>
+ <param name="attributes">The attributes.</param>
</member>
<member name="T:Castle.DynamicProxy.Generators.MethodFinder">
<summary>
@@ -462,6 +472,11 @@
pointing to Castle Dynamic Proxy assembly, in assembly containing
that type, if this is appropriate.</exception>
<seealso
cref="T:Castle.DynamicProxy.Generators.InterfaceProxyWithTargetInterfaceGenerator"/>
</member>
+ <member name="P:Castle.DynamicProxy.IProxyBuilder.Logger">
+ <summary>
+ Gets or sets the <see cref="T:Castle.Core.Logging.ILogger"/> that
this <see cref="T:Castle.DynamicProxy.ProxyGenerator"/> logs to.
+ </summary>
+ </member>
<member name="P:Castle.DynamicProxy.IProxyBuilder.ModuleScope">
<summary>
Gets the <see
cref="P:Castle.DynamicProxy.IProxyBuilder.ModuleScope"/> associated with this
builder.
@@ -642,7 +657,7 @@
to avoid the performance hit associated with proxy generation.
</remarks>
</member>
- <member name="P:Castle.DynamicProxy.ModuleScope.RWLock">
+ <member name="P:Castle.DynamicProxy.ModuleScope.Lock">
<summary>
Users of this <see cref="T:Castle.DynamicProxy.ModuleScope"/>
should use this lock when accessing the cache.
</summary>
@@ -749,11 +764,13 @@
<exception cref="T:System.MissingMethodException">Thrown when no
default constructor exists on actual type of <paramref name="target"/>
object.</exception>
<exception
cref="T:System.Reflection.TargetInvocationException">Thrown when default
constructor of actual type of <paramref name="target"/> throws an
exception.</exception>
<remarks>
+ This method generates new proxy type for each type of <paramref
name="target"/>, which affects performance. If you don't want to proxy types
differently depending on the type of the target
+ use <see
cref="M:Castle.DynamicProxy.ProxyGenerator.CreateInterfaceProxyWithTargetInterface``1(``0,Castle.Core.Interceptor.IInterceptor[])"/>
method.
This method uses <see cref="T:Castle.DynamicProxy.IProxyBuilder"/>
implementation to generate a proxy type.
As such caller should expect any type of exception that given <see
cref="T:Castle.DynamicProxy.IProxyBuilder"/> implementation may throw.
</remarks>
</member>
- <member
name="M:Castle.DynamicProxy.ProxyGenerator.CreateInterfaceProxyWithTarget``1(System.Object,Castle.DynamicProxy.ProxyGenerationOptions,Castle.Core.Interceptor.IInterceptor[])">
+ <member
name="M:Castle.DynamicProxy.ProxyGenerator.CreateInterfaceProxyWithTarget``1(``0,Castle.DynamicProxy.ProxyGenerationOptions,Castle.Core.Interceptor.IInterceptor[])">
<summary>
Creates proxy object intercepting calls to members of interface
<typeparamref name="TInterface"/> on <paramref name="target"/> object with
given <paramref name="interceptors"/>.
</summary>
@@ -770,6 +787,8 @@
<exception cref="T:System.MissingMethodException">Thrown when no
default constructor exists on actual type of <paramref name="target"/>
object.</exception>
<exception
cref="T:System.Reflection.TargetInvocationException">Thrown when default
constructor of actual type of <paramref name="target"/> throws an
exception.</exception>
<remarks>
+ This method generates new proxy type for each type of <paramref
name="target"/>, which affects performance. If you don't want to proxy types
differently depending on the type of the target
+ use <see
cref="M:Castle.DynamicProxy.ProxyGenerator.CreateInterfaceProxyWithTargetInterface``1(``0,Castle.DynamicProxy.ProxyGenerationOptions,Castle.Core.Interceptor.IInterceptor[])"/>
method.
This method uses <see cref="T:Castle.DynamicProxy.IProxyBuilder"/>
implementation to generate a proxy type.
As such caller should expect any type of exception that given <see
cref="T:Castle.DynamicProxy.IProxyBuilder"/> implementation may throw.
</remarks>
@@ -793,6 +812,8 @@
<exception cref="T:System.MissingMethodException">Thrown when no
default constructor exists on actual type of <paramref name="target"/>
object.</exception>
<exception
cref="T:System.Reflection.TargetInvocationException">Thrown when default
constructor of actual type of <paramref name="target"/> throws an
exception.</exception>
<remarks>
+ This method generates new proxy type for each type of <paramref
name="target"/>, which affects performance. If you don't want to proxy types
differently depending on the type of the target
+ use <see
cref="M:Castle.DynamicProxy.ProxyGenerator.CreateInterfaceProxyWithTargetInterface(System.Type,System.Object,Castle.Core.Interceptor.IInterceptor[])"/>
method.
This method uses <see cref="T:Castle.DynamicProxy.IProxyBuilder"/>
implementation to generate a proxy type.
As such caller should expect any type of exception that given <see
cref="T:Castle.DynamicProxy.IProxyBuilder"/> implementation may throw.
</remarks>
@@ -817,6 +838,8 @@
<exception cref="T:System.MissingMethodException">Thrown when no
default constructor exists on actual type of <paramref name="target"/>
object.</exception>
<exception
cref="T:System.Reflection.TargetInvocationException">Thrown when default
constructor of actual type of <paramref name="target"/> throws an
exception.</exception>
<remarks>
+ This method generates new proxy type for each type of <paramref
name="target"/>, which affects performance. If you don't want to proxy types
differently depending on the type of the target
+ use <see
cref="M:Castle.DynamicProxy.ProxyGenerator.CreateInterfaceProxyWithTargetInterface(System.Type,System.Object,Castle.DynamicProxy.ProxyGenerationOptions,Castle.Core.Interceptor.IInterceptor[])"/>
method.
This method uses <see cref="T:Castle.DynamicProxy.IProxyBuilder"/>
implementation to generate a proxy type.
As such caller should expect any type of exception that given <see
cref="T:Castle.DynamicProxy.IProxyBuilder"/> implementation may throw.
</remarks>
@@ -841,6 +864,8 @@
<exception cref="T:System.MissingMethodException">Thrown when no
default constructor exists on actual type of <paramref name="target"/>
object.</exception>
<exception
cref="T:System.Reflection.TargetInvocationException">Thrown when default
constructor of actual type of <paramref name="target"/> throws an
exception.</exception>
<remarks>
+ This method generates new proxy type for each type of <paramref
name="target"/>, which affects performance. If you don't want to proxy types
differently depending on the type of the target
+ use <see
cref="M:Castle.DynamicProxy.ProxyGenerator.CreateInterfaceProxyWithTargetInterface(System.Type,System.Type[],System.Object,Castle.Core.Interceptor.IInterceptor[])"/>
method.
This method uses <see cref="T:Castle.DynamicProxy.IProxyBuilder"/>
implementation to generate a proxy type.
As such caller should expect any type of exception that given <see
cref="T:Castle.DynamicProxy.IProxyBuilder"/> implementation may throw.
</remarks>
@@ -866,6 +891,8 @@
<exception cref="T:System.MissingMethodException">Thrown when no
default constructor exists on actual type of <paramref name="target"/>
object.</exception>
<exception
cref="T:System.Reflection.TargetInvocationException">Thrown when default
constructor of actual type of <paramref name="target"/> throws an
exception.</exception>
<remarks>
+ This method generates new proxy type for each type of <paramref
name="target"/>, which affects performance. If you don't want to proxy types
differently depending on the type of the target
+ use <see
cref="M:Castle.DynamicProxy.ProxyGenerator.CreateInterfaceProxyWithTargetInterface(System.Type,System.Type[],System.Object,Castle.DynamicProxy.ProxyGenerationOptions,Castle.Core.Interceptor.IInterceptor[])"/>
method.
This method uses <see cref="T:Castle.DynamicProxy.IProxyBuilder"/>
implementation to generate a proxy type.
As such caller should expect any type of exception that given <see
cref="T:Castle.DynamicProxy.IProxyBuilder"/> implementation may throw.
</remarks>
@@ -1022,11 +1049,12 @@
<returns>
Object proxying calls to members of <typeparamref
name="TInterface"/> types on generated target object.
</returns>
- <exception cref="T:System.ArgumentNullException">Thrown when given
<paramref name="interceptor"/> object is a null reference (Nothing in Visual
Basic).</exception>
+ <exception cref="T:System.ArgumentNullException">Thrown when given
<paramref name="interceptor"/> array is a null reference (Nothing in Visual
Basic).</exception>
<exception cref="T:System.ArgumentException">Thrown when given
<typeparamref name="TInterface"/> is not an interface type.</exception>
<remarks>
Since this method uses an empty-shell implementation of interfaces
to proxy generated at runtime, the actual implementation of proxied methods
must be provided by given <see cref="T:Castle.Core.Interceptor.IInterceptor"/>
implementations.
They are responsible for setting return value (and out parameters)
on proxied methods. It is also illegal for an interceptor to call <see
cref="M:Castle.Core.Interceptor.IInvocation.Proceed"/>, since there's no actual
implementation to proceed with.
+ As a result of that also at least one <see
cref="T:Castle.Core.Interceptor.IInterceptor"/> implementation must be provided.
This method uses <see cref="T:Castle.DynamicProxy.IProxyBuilder"/>
implementation to generate a proxy type.
As such caller should expect any type of exception that given <see
cref="T:Castle.DynamicProxy.IProxyBuilder"/> implementation may throw.
</remarks>
@@ -1050,17 +1078,37 @@
As such caller should expect any type of exception that given <see
cref="T:Castle.DynamicProxy.IProxyBuilder"/> implementation may throw.
</remarks>
</member>
+ <member
name="M:Castle.DynamicProxy.ProxyGenerator.CreateInterfaceProxyWithoutTarget``1(Castle.DynamicProxy.ProxyGenerationOptions,Castle.Core.Interceptor.IInterceptor[])">
+ <summary>
+ Creates proxy object intercepting calls to members of interface
<typeparamref name="TInterface"/> on target object generated at runtime with
given <paramref name="interceptors"/>.
+ </summary>
+ <typeparam name="TInterface">Type of the interface which will be
proxied.</typeparam>
+ <param name="options">The proxy generation options used to
influence generated proxy type and object.</param>
+ <param name="interceptors">The interceptors called during the
invocation of proxied methods.</param>
+ <returns>
+ Object proxying calls to members of <typeparamref
name="TInterface"/> types on generated target object.
+ </returns>
+ <exception cref="T:System.ArgumentNullException">Thrown when given
<paramref name="interceptors"/> array is a null reference (Nothing in Visual
Basic).</exception>
+ <exception cref="T:System.ArgumentException">Thrown when given
<typeparamref name="TInterface"/> is not an interface type.</exception>
+ <remarks>
+ Since this method uses an empty-shell implementation of interfaces
to proxy generated at runtime, the actual implementation of proxied methods
must be provided by given <see cref="T:Castle.Core.Interceptor.IInterceptor"/>
implementations.
+ They are responsible for setting return value (and out parameters)
on proxied methods. It is also illegal for an interceptor to call <see
cref="M:Castle.Core.Interceptor.IInvocation.Proceed"/>, since there's no actual
implementation to proceed with.
+ As a result of that also at least one <see
cref="T:Castle.Core.Interceptor.IInterceptor"/> implementation must be provided.
+ This method uses <see cref="T:Castle.DynamicProxy.IProxyBuilder"/>
implementation to generate a proxy type.
+ As such caller should expect any type of exception that given <see
cref="T:Castle.DynamicProxy.IProxyBuilder"/> implementation may throw.
+ </remarks>
+ </member>
<member
name="M:Castle.DynamicProxy.ProxyGenerator.CreateInterfaceProxyWithoutTarget(System.Type,Castle.Core.Interceptor.IInterceptor)">
<summary>
Creates proxy object intercepting calls to members of interface
<paramref name="interfaceToProxy"/> on target object generated at runtime with
given <paramref name="interceptor"/>.
</summary>
<param name="interfaceToProxy">Type of the interface which will be
proxied.</param>
- <param name="interceptor">The interceptor called during the
invocation of proxied methods.</param>
+ <param name="interceptor">The interceptors called during the
invocation of proxied methods.</param>
<returns>
Object proxying calls to members of <paramref
name="interfaceToProxy"/> type on generated target object.
</returns>
<exception cref="T:System.ArgumentNullException">Thrown when given
<paramref name="interfaceToProxy"/> object is a null reference (Nothing in
Visual Basic).</exception>
- <exception cref="T:System.ArgumentNullException">Thrown when given
<paramref name="interceptor"/> object is a null reference (Nothing in Visual
Basic).</exception>
+ <exception cref="T:System.ArgumentNullException">Thrown when given
<paramref name="interceptor"/> array is a null reference (Nothing in Visual
Basic).</exception>
<exception cref="T:System.ArgumentException">Thrown when given
<paramref name="interfaceToProxy"/> is a generic type definition.</exception>
<exception cref="T:System.ArgumentException">Thrown when given
<paramref name="interfaceToProxy"/> is not an interface type.</exception>
<remarks>
@@ -1111,6 +1159,26 @@
As such caller should expect any type of exception that given <see
cref="T:Castle.DynamicProxy.IProxyBuilder"/> implementation may throw.
</remarks>
</member>
+ <member
name="M:Castle.DynamicProxy.ProxyGenerator.CreateInterfaceProxyWithoutTarget(System.Type,Castle.DynamicProxy.ProxyGenerationOptions,Castle.Core.Interceptor.IInterceptor[])">
+ <summary>
+ Creates proxy object intercepting calls to members of interface
<paramref name="interfaceToProxy"/> on target object generated at runtime with
given <paramref name="interceptors"/>.
+ </summary>
+ <param name="interfaceToProxy">Type of the interface which will be
proxied.</param>
+ <param name="options">The proxy generation options used to
influence generated proxy type and object.</param>
+ <param name="interceptors">The interceptors called during the
invocation of proxied methods.</param>
+ <returns>
+ Object proxying calls to members of <paramref
name="interfaceToProxy"/> on generated target object.
+ </returns>
+ <exception cref="T:System.ArgumentNullException">Thrown when given
<paramref name="interfaceToProxy"/> object is a null reference (Nothing in
Visual Basic).</exception>
+ <exception cref="T:System.ArgumentNullException">Thrown when given
<paramref name="interceptors"/> array is a null reference (Nothing in Visual
Basic).</exception>
+ <exception cref="T:System.ArgumentException">Thrown when given
<paramref name="interfaceToProxy"/> is a generic type definition.</exception>
+ <exception cref="T:System.ArgumentException">Thrown when given
<paramref name="interfaceToProxy"/> is not an interface type.</exception>
+ <remarks>
+ They are responsible for setting return value (and out parameters)
on proxied methods. It is also illegal for an interceptor to call <see
cref="M:Castle.Core.Interceptor.IInvocation.Proceed"/>, since there's no actual
implementation to proceed with.
+ This method uses <see cref="T:Castle.DynamicProxy.IProxyBuilder"/>
implementation to generate a proxy type.
+ As such caller should expect any type of exception that given <see
cref="T:Castle.DynamicProxy.IProxyBuilder"/> implementation may throw.
+ </remarks>
+ </member>
<member
name="M:Castle.DynamicProxy.ProxyGenerator.CreateInterfaceProxyWithoutTarget(System.Type,System.Type[],Castle.DynamicProxy.ProxyGenerationOptions,Castle.Core.Interceptor.IInterceptor[])">
<summary>
Creates proxy object intercepting calls to members of interface
<paramref name="interfaceToProxy"/> on target object generated at runtime with
given <paramref name="interceptors"/>.
@@ -1150,6 +1218,24 @@
As such caller should expect any type of exception that given <see
cref="T:Castle.DynamicProxy.IProxyBuilder"/> implementation may throw.
</remarks>
</member>
+ <member
name="M:Castle.DynamicProxy.ProxyGenerator.CreateClassProxy``1(Castle.DynamicProxy.ProxyGenerationOptions,Castle.Core.Interceptor.IInterceptor[])">
+ <summary>
+ Creates proxy object intercepting calls to virtual members of type
<typeparamref name="TClass"/> on newly created instance of that type with given
<paramref name="interceptors"/>.
+ </summary>
+ <typeparam name="TClass">Type of class which will be
proxied.</typeparam>
+ <param name="options">The proxy generation options used to
influence generated proxy type and object.</param>
+ <param name="interceptors">The interceptors called during the
invocation of proxied methods.</param>
+ <returns>
+ New object of type <typeparamref name="TClass"/> proxying calls to
virtual members of <typeparamref name="TClass"/> type.
+ </returns>
+ <exception cref="T:System.ArgumentException">Thrown when given
<typeparamref name="TClass"/> is not a class type.</exception>
+ <exception cref="T:System.ArgumentException">Thrown when no
default constructor exists on type <typeparamref name="TClass"/>.</exception>
+ <exception
cref="T:System.Reflection.TargetInvocationException">Thrown when default
constructor of type <typeparamref name="TClass"/> throws an
exception.</exception>
+ <remarks>
+ This method uses <see cref="T:Castle.DynamicProxy.IProxyBuilder"/>
implementation to generate a proxy type.
+ As such caller should expect any type of exception that given <see
cref="T:Castle.DynamicProxy.IProxyBuilder"/> implementation may throw.
+ </remarks>
+ </member>
<member
name="M:Castle.DynamicProxy.ProxyGenerator.CreateClassProxy(System.Type,System.Type[],Castle.Core.Interceptor.IInterceptor[])">
<summary>
Creates proxy object intercepting calls to virtual members of type
<paramref name="classToProxy"/> on newly created instance of that type with
given <paramref name="interceptors"/>.
@@ -1190,6 +1276,27 @@
As such caller should expect any type of exception that given <see
cref="T:Castle.DynamicProxy.IProxyBuilder"/> implementation may throw.
</remarks>
</member>
+ <member
name="M:Castle.DynamicProxy.ProxyGenerator.CreateClassProxy(System.Type,Castle.DynamicProxy.ProxyGenerationOptions,System.Object[],Castle.Core.Interceptor.IInterceptor[])">
+ <summary>
+ Creates proxy object intercepting calls to virtual members of type
<paramref name="classToProxy"/> on newly created instance of that type with
given <paramref name="interceptors"/>.
+ </summary>
+ <param name="classToProxy">Type of class which will be
proxied.</param>
+ <param name="options">The proxy generation options used to
influence generated proxy type and object.</param>
+ <param name="constructorArguments">Arguments of constructor of
type <paramref name="classToProxy"/> which should be used to create a new
instance of that type.</param>
+ <param name="interceptors">The interceptors called during the
invocation of proxied methods.</param>
+ <returns>
+ New object of type <paramref name="classToProxy"/> proxying calls
to virtual members of <paramref name="classToProxy"/> type.
+ </returns>
+ <exception cref="T:System.ArgumentNullException">Thrown when given
<paramref name="classToProxy"/> object is a null reference (Nothing in Visual
Basic).</exception>
+ <exception cref="T:System.ArgumentException">Thrown when given
<paramref name="classToProxy"/> is a generic type definition.</exception>
+ <exception cref="T:System.ArgumentException">Thrown when given
<paramref name="classToProxy"/> is not a class type.</exception>
+ <exception cref="T:System.ArgumentException">Thrown when no
constructor exists on type <paramref name="classToProxy"/> with parameters
matching <paramref name="constructorArguments"/>.</exception>
+ <exception
cref="T:System.Reflection.TargetInvocationException">Thrown when constructor of
type <paramref name="classToProxy"/> throws an exception.</exception>
+ <remarks>
+ This method uses <see cref="T:Castle.DynamicProxy.IProxyBuilder"/>
implementation to generate a proxy type.
+ As such caller should expect any type of exception that given <see
cref="T:Castle.DynamicProxy.IProxyBuilder"/> implementation may throw.
+ </remarks>
+ </member>
<member
name="M:Castle.DynamicProxy.ProxyGenerator.CreateClassProxy(System.Type,System.Object[],Castle.Core.Interceptor.IInterceptor[])">
<summary>
Creates proxy object intercepting calls to virtual members of type
<paramref name="classToProxy"/> on newly created instance of that type with
given <paramref name="interceptors"/>.
@@ -1314,13 +1421,12 @@
<param name="options">The options for proxy generation
process.</param>
<returns><see cref="T:System.Type"/> of proxy.</returns>
</member>
- <member
name="M:Castle.DynamicProxy.ProxyGenerator.CreateInterfaceProxyTypeWithTargetInterface(System.Type,System.Type[],System.Type,Castle.DynamicProxy.ProxyGenerationOptions)">
+ <member
name="M:Castle.DynamicProxy.ProxyGenerator.CreateInterfaceProxyTypeWithTargetInterface(System.Type,System.Type[],Castle.DynamicProxy.ProxyGenerationOptions)">
<summary>
Creates the proxy type for interface proxy with target interface
for given <paramref name="interfaceToProxy"/> interface, implementing given
<paramref name="additionalInterfacesToProxy"/> on given <paramref
name="targetType"/> and using provided <paramref name="options"/>.
</summary>
<param name="interfaceToProxy">The interface proxy type should
implement.</param>
<param name="additionalInterfacesToProxy">The additional
interfaces proxy type should implement.</param>
- <param name="targetType">Actual type that the proxy type will
encompass.</param>
<param name="options">The options for proxy generation
process.</param>
<returns><see cref="T:System.Type"/> of proxy.</returns>
</member>
@@ -1333,6 +1439,11 @@
<param name="options">The options for proxy generation
process.</param>
<returns><see cref="T:System.Type"/> of proxy.</returns>
</member>
+ <member name="P:Castle.DynamicProxy.ProxyGenerator.Logger">
+ <summary>
+ Gets or sets the <see cref="T:Castle.Core.Logging.ILogger"/> that
this <see cref="T:Castle.DynamicProxy.ProxyGenerator"/> log to.
+ </summary>
+ </member>
<member name="P:Castle.DynamicProxy.ProxyGenerator.ProxyBuilder">
<summary>
File [modified]: Castle.DynamicProxy2.dll
Delta lines: None
None
File [modified]: Castle.DynamicProxy2.xml
Delta lines: +140 -38
===================================================================
---
Facilities/AutomaticTransactionManagement/trunk/lib/net-3.5/Castle.MicroKernel.xml
2010-01-26 21:13:55 UTC (rev 6716)
+++
Facilities/AutomaticTransactionManagement/trunk/lib/net-3.5/Castle.MicroKernel.xml
2010-01-26 21:21:29 UTC (rev 6717)
@@ -206,11 +206,16 @@
Initializes a new instance of the <see
cref="T:Castle.MicroKernel.CreationContext"/> class.
</summary>
</member>
- <member
name="M:Castle.MicroKernel.CreationContext.HandlerIsCurrentlyBeingResolved(Castle.MicroKernel.IHandler)">
+ <member
name="M:Castle.MicroKernel.CreationContext.IsInResolutionContext(Castle.MicroKernel.IHandler)">
<summary>
- Check if we are now in the middle of resolving this handler,
- and as such, we shouldn't try to resolve that.
+ Method used by handlers to test whether they are being resolved in
the context.
</summary>
+ <param name="handler"></param>
+ <returns></returns>
+ <remarks>
+ This method is provided as part of double dispatch mechanism for
use by handlers.
+ Outside of handlers, call <see
cref="M:Castle.MicroKernel.IHandler.IsBeingResolvedInContext(Castle.MicroKernel.CreationContext)"/>
instead.
+ </remarks>
</member>
<member name="P:Castle.MicroKernel.CreationContext.Empty">
<summary>Creates a new, empty <see
cref="T:Castle.MicroKernel.CreationContext"/> instance.</summary>
@@ -585,18 +590,6 @@
</summary>
</member>
- <member
name="T:Castle.MicroKernel.Facilities.OnCreate.OnCreateFacility">
- <summary>
- This facility allows modification on objects after they are created
- </summary>
- </member>
- <member
name="M:Castle.MicroKernel.Facilities.OnCreate.OnCreateFacility.HandleComponentCreated(Castle.Core.ComponentModel,System.Object)">
- <summary>
- Handles the ComponentCreated event and invoke the delegate stored
in ExtendedProperties of <see cref="T:Castle.Core.ComponentModel"/>
- </summary>
- <param name="model"></param>
- <param name="instance"></param>
- </member>
<member name="T:Castle.Facilities.Remoting.RemoteActivator">
<summary>
Activates a object connecting to the remote server.
@@ -780,16 +773,61 @@
<param name="model">The model.</param>
<param name="component">The component.</param>
</member>
+ <member
name="M:Castle.MicroKernel.Facilities.TypedFactory.ITypedFactoryComponentSelector.SelectComponent(System.Reflection.MethodInfo,System.Type,System.Object[])">
+ <summary>
+ Selects one or both of component name and type, for given method
+ called on given typed factory type.
+ When component should be requested by type only,
+ componentName should be null.
+ When component should be requested by name only,
+ componentType should be null.
+
+ </summary>
+ <param name="method"></param>
+ <param name="type"></param>
+ <param name="arguments"></param>
+ <returns></returns>
+ </member>
+ <member
name="M:Castle.MicroKernel.Facilities.TypedFactory.ITypedFactoryMethod.Invoke(Castle.Core.Interceptor.IInvocation)">
+ <summary>
+ Performs actual invocation of typed factory method.
+ </summary>
+ <param name="invocation"></param>
+ </member>
<member name="T:Castle.Facilities.TypedFactory.FactoryInterceptor">
<summary>
Summary description for FactoryInterceptor.
</summary>
</member>
+ <member name="T:Castle.MicroKernel.Facilities.TypedFactory.Release">
+ <summary>
+ Releases components passed as arguments from the container.
+ </summary>
+ </member>
+ <member name="T:Castle.MicroKernel.Facilities.TypedFactory.Resolve">
+ <summary>
+ resolves componet selected by given <see
cref="T:Castle.MicroKernel.Facilities.TypedFactory.ITypedFactoryComponentSelector"/>
from the container
+ </summary>
+ </member>
<member name="T:Castle.Facilities.TypedFactory.TypedFactoryFacility">
<summary>
Summary description for TypedFactoryFacility.
</summary>
</member>
+ <member
name="M:Castle.Facilities.TypedFactory.TypedFactoryRegistrationExtensions.AsFactory``1(Castle.MicroKernel.Registration.ComponentRegistration{``0})">
+ <summary>
+ Marks the component as typed factory.
+ </summary>
+ <typeparam name="S"></typeparam>
+ <param name="registration"></param>
+ <returns></returns>
+ <remarks>
+ Only interfaces are legal to use as typed factories. Methods with
out parameters are not allowed.
+ When registering component as typed factory no implementation
should be provided (in case there is any it will be ignored).
+ Typed factories rely on <see
cref="T:Castle.Core.Interceptor.IInterceptorSelector"/> set internally, so
users should not set interceptor selectors explicitly;
+ otherwise the factory will not function correctly.
+ </remarks>
+ </member>
<member name="T:Castle.MicroKernel.Handlers.AbstractHandler">
<summary>
Implements the basis of <see cref="T:Castle.MicroKernel.IHandler"/>
@@ -850,6 +888,11 @@
<param name="key"></param>
<returns></returns>
</member>
+ <member
name="M:Castle.MicroKernel.IHandler.IsBeingResolvedInContext(Castle.MicroKernel.CreationContext)">
+ <summary>
+ Tests whether the handler is already being resolved in given
context.
+ </summary>
+ </member>
<member name="P:Castle.MicroKernel.IHandler.CurrentState">
<summary>
Gets the state of the handler
@@ -924,15 +967,31 @@
</member>
<member
name="M:Castle.MicroKernel.Handlers.AbstractHandler.Resolve(Castle.MicroKernel.CreationContext)">
<summary>
+ Returns an instance of the component this handler
+ is responsible for
+ </summary>
+ <param name="context"></param>
+ <returns></returns>
+ </member>
+ <member
name="M:Castle.MicroKernel.Handlers.AbstractHandler.ResolveCore(Castle.MicroKernel.CreationContext,System.Boolean)">
+ <summary>
Should be implemented by derived classes:
returns an instance of the component this handler
is responsible for
</summary>
<param name="context"></param>
+ <param name="track"></param>
<returns></returns>
</member>
<member
name="M:Castle.MicroKernel.Handlers.AbstractHandler.Release(System.Object)">
<summary>
+ disposes the component instance (or recycle it).
+ </summary>
+ <param name="instance"></param>
+ <returns></returns>
+ </member>
+ <member
name="M:Castle.MicroKernel.Handlers.AbstractHandler.ReleaseCore(System.Object)">
+ <summary>
Should be implemented by derived classes:
disposes the component instance (or recycle it)
</summary>
@@ -1085,15 +1144,16 @@
</summary>
<param name="model"></param>
</member>
- <member
name="M:Castle.MicroKernel.Handlers.DefaultHandler.Resolve(Castle.MicroKernel.CreationContext)">
+ <member
name="M:Castle.MicroKernel.Handlers.DefaultHandler.ResolveCore(Castle.MicroKernel.CreationContext,System.Boolean)">
<summary>
Returns an instance of the component this handler
is responsible for
</summary>
<param name="context"></param>
+ <param name="track"></param>
<returns></returns>
</member>
- <member
name="M:Castle.MicroKernel.Handlers.DefaultHandler.Release(System.Object)">
+ <member
name="M:Castle.MicroKernel.Handlers.DefaultHandler.ReleaseCore(System.Object)">
<summary>
disposes the component instance (or recycle it)
</summary>
@@ -1257,6 +1317,16 @@
</summary>
</member>
+ <member
name="T:Castle.MicroKernel.Lifestyle.PerThreadThreadStaticLifestyleManager">
+ <summary>
+ per thread LifestyleManager implementation compatibile with
Silverlight.
+ </summary>
+ </member>
+ <member
name="M:Castle.MicroKernel.Lifestyle.PerThreadThreadStaticLifestyleManager.Dispose">
+ <summary>
+
+ </summary>
+ </member>
<member
name="T:Castle.MicroKernel.Lifestyle.PerWebRequestLifestyleManager">
<summary>
Implements a Lifestyle Manager for Web Apps that
@@ -1304,7 +1374,7 @@
component configuration and verifies it implements the <see
cref="T:Castle.MicroKernel.IComponentActivator"/>
interface.
</summary>
- <exception cref="T:System.Configuration.ConfigurationException">
+ <exception cref="T:System.Exception">
If the type does not implement the proper interface
</exception>
<param name="model"></param>
@@ -1346,7 +1416,7 @@
Reads the proxy behavior associated with the
component configuration/type and applies it to the model.
</summary>
- <exception cref="T:System.Configuration.ConfigurationException">
+ <exception cref="T:System.Exception">
If the conversion fails
</exception>
<param name="kernel"></param>
@@ -1402,11 +1472,6 @@
magic numbers and hardcode names.
</summary>
</member>
- <member
name="T:Castle.MicroKernel.ModelBuilder.Inspectors.GenericInspector">
- <summary>
-
- </summary>
- </member>
<member
name="T:Castle.MicroKernel.ModelBuilder.Inspectors.InterceptorInspector">
<summary>
Inspect the component for <c>InterceptorAttribute</c> and
@@ -1798,12 +1863,6 @@
<param name="createOnDemand">true if the options should be created
if not present.</param>
<returns>The associated proxy options for the component
model.</returns>
</member>
- <member
name="T:Castle.MicroKernel.Registration.Facilities.OnCreateComponentDescriptor`1">
- <summary>
- Adds the actions to ExtendedProperties.
- </summary>
- <typeparam name="S"></typeparam>
- </member>
<member
name="M:Castle.MicroKernel.Registration.Lifestyle.LifestyleGroup`1.Is(Castle.Core.LifestyleType)">
<summary>
Sets the lifestyle to the specified <paramref name="type"/>.
@@ -2594,6 +2653,31 @@
<param name="interceptors">The interceptors.</param>
<returns></returns>
</member>
+ <member
name="M:Castle.MicroKernel.Registration.ComponentRegistration`1.Interceptors(System.Type[])">
+ <summary>
+ Set the interceptors for this component.
+ </summary>
+ <param name="interceptors">The interceptors.</param>
+ <returns></returns>
+ </member>
+ <member
name="M:Castle.MicroKernel.Registration.ComponentRegistration`1.Interceptors``1">
+ <summary>
+ Set the interceptor for this component.
+ </summary>
+ <returns></returns>
+ </member>
+ <member
name="M:Castle.MicroKernel.Registration.ComponentRegistration`1.Interceptors``2">
+ <summary>
+ Set the interceptor for this component.
+ </summary>
+ <returns></returns>
+ </member>
+ <member
name="M:Castle.MicroKernel.Registration.ComponentRegistration`1.Interceptors(System.String[])">
+ <summary>
+ Set the interceptor for this component.
+ </summary>
+ <returns></returns>
+ </member>
<member
name="M:Castle.MicroKernel.Registration.ComponentRegistration`1.SelectInterceptorsWith(Castle.Core.Interceptor.IInterceptorSelector)">
<summary>
Sets the interceptor selector for this component.
@@ -2627,15 +2711,27 @@
<remarks>Be sure that you first added the <see
cref="T:Castle.Facilities.Startable.StartableFacility"/>
to the kernel, before registering this component.</remarks>
</member>
- <member
name="M:Castle.MicroKernel.Registration.ComponentRegistration`1.OnCreate(Castle.MicroKernel.Facilities.OnCreate.OnCreateActionDelegate{`0}[])">
+ <member
name="M:Castle.MicroKernel.Registration.ComponentRegistration`1.OnCreate(Castle.MicroKernel.LifecycleConcerns.OnCreateActionDelegate{`0}[])">
<summary>
- Stores a set of <see
cref="T:Castle.MicroKernel.Facilities.OnCreate.OnCreateActionDelegate`1"/>
which will be invoked when the component
- is created
+ Stores a set of <see
cref="T:Castle.MicroKernel.LifecycleConcerns.OnCreateActionDelegate`1"/> which
will be invoked when the component
+ is created and before it's returned from the container.
</summary>
- <param name="actions">A setof actions</param>
- <remarks>Be sure that you first added the <see
cref="T:Castle.MicroKernel.Facilities.OnCreate.OnCreateFacility"/>
- to the kernel, before registering this component.</remarks>
+ <param name="actions">A set of actions to be executed right after
the component is created and before it's returned from the container.</param>
</member>
+ <member
name="M:Castle.MicroKernel.Registration.ComponentRegistration`1.DynamicParameters(Castle.MicroKernel.Registration.DynamicParametersDelegate)">
+ <summary>
+ Allows custom dependencies to by defined dyncamically.
+ </summary>
+ <param name="resolve">The delegate used for providing dynamic
parameters.</param>
+ <returns></returns>
+ </member>
+ <member
name="M:Castle.MicroKernel.Registration.ComponentRegistration`1.DynamicParameters(Castle.MicroKernel.Registration.DynamicParametersResolveDelegate)">
+ <summary>
+ Allows custom dependencies to by defined dyncamically with
releasing capability.
+ </summary>
+ <param name="resolve">The delegate used for providing dynamic
parameters.</param>
+ <returns></returns>
+ </member>
<member
name="M:Castle.MicroKernel.Registration.ComponentRegistration`1.ActAs(System.Object[])">
<summary>
Marks the components with one or more actors.
@@ -2931,6 +3027,12 @@
</summary>
<param name="configuration">The configuration.</param>
</member>
+ <member
name="T:Castle.MicroKernel.Registration.OnCreateComponentDescriptor`1">
+ <summary>
+ Adds the actions to ExtendedProperties.
+ </summary>
+ <typeparam name="S"></typeparam>
+ </member>
<member name="T:Castle.MicroKernel.Registration.Parameter">
<summary>
Represents a configuration parameter.
@@ -3823,9 +3925,9 @@
</summary>
<param name="properties">Property list.</param>
</member>
- <member
name="M:Castle.MicroKernel.SubSystems.Naming.ComponentName.SetupProperties(System.Collections.IDictionary)">
+ <member
name="M:Castle.MicroKernel.SubSystems.Naming.ComponentName.SetupProperties(System.Collections.Generic.IDictionary{System.String,System.String})">
<summary>
- Validates a properties Hashtable.
+ Validates a properties IDictionary.
</summary>
<param name="properties">Property list.</param>
File [modified]: Castle.MicroKernel.dll
Delta lines: None
None
File [modified]: Castle.MicroKernel.xml
Delta lines: +2 -1
===================================================================
---
Facilities/AutomaticTransactionManagement/trunk/src/Castle.Facilities.AutomaticTransactionManagement/TransactionComponentInspector.cs
2010-01-26 21:13:55 UTC (rev 6716)
+++
Facilities/AutomaticTransactionManagement/trunk/src/Castle.Facilities.AutomaticTransactionManagement/TransactionComponentInspector.cs
2010-01-26 21:21:29 UTC (rev 6717)
@@ -16,6 +16,7 @@
{
using System;
using System.Collections;
+ using System.Collections.Generic;
using System.Reflection;
using Castle.Core;
using Castle.MicroKernel;
@@ -93,7 +94,7 @@
/// <param name="model">The model.</param>
/// <param name="methods">The methods.</param>
/// <param name="metaModel">The meta model.</param>
- protected override void ProcessMeta(ComponentModel model,
MethodInfo[] methods, MethodMetaModel metaModel)
+ protected override void ProcessMeta(ComponentModel model,
IList<MethodInfo> methods, MethodMetaModel metaModel)
{
metaStore.CreateMetaFromConfig(model.Implementation,
methods, metaModel.ConfigNode);
File [modified]: Castle.Services.Transaction.dll
Delta lines: None
None
File [modified]: Castle.Windsor.dll
Delta lines: None
None
--
You received this message because you are subscribed to the Google Groups
"Castle Project Commits" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/castle-project-commits?hl=en.