Update of /cvsroot/springnet/Spring.Net/src/Spring/Spring.Web/Web/Services
In directory sc8-pr-cvs8.sourceforge.net:/tmp/cvs-serv23075
Modified Files:
WebServiceExporter.cs
Log Message:
Make WebServiceProxyFactory and WebServiceExporter easily customizable.
Index: WebServiceExporter.cs
===================================================================
RCS file: /cvsroot/springnet/Spring.Net/src/Spring/Spring.Web/Web/Services/WebServiceExporter.cs,v
retrieving revision 1.29
retrieving revision 1.30
diff -C2 -d -r1.29 -r1.30
*** WebServiceExporter.cs 7 Dec 2007 20:26:12 -0000 1.29
--- WebServiceExporter.cs 22 Feb 2008 16:44:47 -0000 1.30
***************
*** 218,222 ****
/// In case of initialization errors.
/// </exception>
! public IObjectFactory ObjectFactory
{
set { this.objectFactory = value; }
--- 218,222 ----
/// In case of initialization errors.
/// </exception>
! public virtual IObjectFactory ObjectFactory
{
set { this.objectFactory = value; }
***************
*** 307,311 ****
/// property) or if initialization fails.
/// </exception>
! public void AfterPropertiesSet()
{
ValidateConfiguration();
--- 307,311 ----
/// property) or if initialization fails.
/// </exception>
! public virtual void AfterPropertiesSet()
{
ValidateConfiguration();
***************
*** 315,321 ****
#endregion
! #region Private Methods
! private void ValidateConfiguration()
{
if (TargetName == null)
--- 315,321 ----
#endregion
! #region Protected Methods
! protected void ValidateConfiguration()
{
if (TargetName == null)
***************
*** 325,329 ****
}
! private void GenerateProxy()
{
IProxyTypeBuilder builder = new WebServiceProxyTypeBuilder(TargetName, Description, Name, Namespace);
--- 325,329 ----
}
! protected void GenerateProxy()
{
IProxyTypeBuilder builder = new WebServiceProxyTypeBuilder(TargetName, Description, Name, Namespace);
|