avalon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 11566] - Add URL source factory
Date Wed, 21 Aug 2002 16:48:54 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11566>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11566

Add URL source factory





------- Additional Comments From leo.sutic@inspireinfrastructure.com  2002-08-21 16:48 -------
There's this code in SourceResolverImpl.java:

        if( null == source )
        {
            // no factory found, so usual url handling stuff...
            try
            {
                if( getLogger().isDebugEnabled() == true )
                {
                    this.getLogger().debug( "Making URL from " + systemID );
                }
                try
                {
                    final URLSource urlSource =
                        (URLSource)this.m_urlSourceClass.newInstance();
                    urlSource.init( new URL( systemID ), parameters );


Would appear that URLSources are created by default when no factory is 
available, making such a factory unneccesary.

Could you check if you really need a URLSourceFactory?

--
To unsubscribe, e-mail:   <mailto:avalon-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:avalon-dev-help@jakarta.apache.org>


Mime
View raw message