Revision: 7776
Author: victormote
Date: 2006-07-08 12:24:24 -0700 (Sat, 08 Jul 2006)
ViewCVS: http://svn.sourceforge.net/foray/?rev=7776&view=rev
Log Message:
-----------
Make the Factory implementation a subclass of the Abstract one again.
Modified Paths:
--------------
trunk/foray/foray-common/src/java/org/foray/common/url/FactoryProtocolRegistration.java
Modified: trunk/foray/foray-common/src/java/org/foray/common/url/FactoryProtocolRegistration.java
===================================================================
--- trunk/foray/foray-common/src/java/org/foray/common/url/FactoryProtocolRegistration.java 2006-07-08 19:08:42 UTC (rev 7775)
+++ trunk/foray/foray-common/src/java/org/foray/common/url/FactoryProtocolRegistration.java 2006-07-08 19:24:24 UTC (rev 7776)
@@ -39,8 +39,7 @@
* URLStreamHandlers, but instead attempts to use only a
* {@link URLStreamHandlerFactory}.
*/
-public class FactoryProtocolRegistration
- implements ProtocolRegistrationStrategy {
+public class FactoryProtocolRegistration extends AbstractProtocolRegistration {
/**
* Package-private constructor.
@@ -54,8 +53,7 @@
/**
* {@inheritDoc}
*/
- public void registerProtocolHandler(String protocol,
- URLStreamHandler handler) {
+ public void doRegister(String protocol, URLStreamHandler handler) {
/* Get the Factory instance. */
FOrayURLStreamHandlerFactory factory =
FOrayURLStreamHandlerFactory.getURLStreamHandlerFactory();
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|