Update of /cvsroot/metamorphosis/ruper2/src/java/core/org/krysalis/ruper2/protocols
In directory sc8-pr-cvs1:/tmp/cvs-serv8045/src/java/core/org/krysalis/ruper2/protocols
Modified Files:
DefaultProtocolOperationsManager.java
IProtocolOperationsProvider.java
ProtocolOperationsManager.java
Log Message:
Share a good idea w/ k-v...
Index: DefaultProtocolOperationsManager.java
===================================================================
RCS file: /cvsroot/metamorphosis/ruper2/src/java/core/org/krysalis/ruper2/protocols/DefaultProtocolOperationsManager.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** DefaultProtocolOperationsManager.java 17 Oct 2003 21:12:45 -0000 1.5
--- DefaultProtocolOperationsManager.java 22 Oct 2003 02:14:06 -0000 1.6
***************
*** 15,23 ****
extends ProtocolOperationsManager {
! private final static String VFS_PROVIDER =
"org.krysalis.ruper2.protocols.impl.VfsProtocolOperationsProvider";
! private final static String HTTP_CLIENT_PROVIDER =
"org.krysalis.ruper2.protocols.impl.HttpClientProtocolOperationsProvider";
! private final static String URL_PROVIDER =
"org.krysalis.ruper2.protocols.impl.BasicProtocolOperationsProvider";
--- 15,23 ----
extends ProtocolOperationsManager {
! private static final String VFS_PROVIDER =
"org.krysalis.ruper2.protocols.impl.VfsProtocolOperationsProvider";
! private static final String HTTP_CLIENT_PROVIDER =
"org.krysalis.ruper2.protocols.impl.HttpClientProtocolOperationsProvider";
! private static final String URL_PROVIDER =
"org.krysalis.ruper2.protocols.impl.BasicProtocolOperationsProvider";
Index: IProtocolOperationsProvider.java
===================================================================
RCS file: /cvsroot/metamorphosis/ruper2/src/java/core/org/krysalis/ruper2/protocols/IProtocolOperationsProvider.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** IProtocolOperationsProvider.java 13 Oct 2003 03:46:12 -0000 1.3
--- IProtocolOperationsProvider.java 22 Oct 2003 02:14:06 -0000 1.4
***************
*** 10,14 ****
import org.krysalis.ruper2.impl.ResourceUpdaterContext;
! import org.krysalis.ruper2.util.net.*;
import org.krysalis.ruper2.util.select.ISelector;
--- 10,14 ----
import org.krysalis.ruper2.impl.ResourceUpdaterContext;
! import org.krysalis.ruper2.util.net.VirtualResourceLocator;
import org.krysalis.ruper2.util.select.ISelector;
Index: ProtocolOperationsManager.java
===================================================================
RCS file: /cvsroot/metamorphosis/ruper2/src/java/core/org/krysalis/ruper2/protocols/ProtocolOperationsManager.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** ProtocolOperationsManager.java 17 Oct 2003 19:33:28 -0000 1.7
--- ProtocolOperationsManager.java 22 Oct 2003 02:14:06 -0000 1.8
***************
*** 13,17 ****
import org.krysalis.ruper2.RuperException;
import org.krysalis.ruper2.impl.ResourceUpdaterContext;
- import org.krysalis.ruper2.log.Logger;
import org.krysalis.ruper2.protocols.select.DestinationProtocolProviderSelector;
import org.krysalis.ruper2.protocols.select.SourceDestinationProtocolProviderSelector;
--- 13,16 ----
***************
*** 22,25 ****
--- 21,25 ----
import org.krysalis.ruper2.util.select.ISelector;
import org.krysalis.ruper2.util.select.SelectorHandlerChain;
+ import org.krysalis.version.log.Logger;
import org.krysalis.version.util.debug.DebugUtils;
import org.krysalis.version.util.debug.Dumpable;
***************
*** 103,107 ****
ISelector selector)
throws Exception {
! Logger.getLog().debug("Perform List " + container);
return provider.list(container, selector);
}
--- 103,107 ----
ISelector selector)
throws Exception {
! Logger.getLogger().debug("Perform List " + container);
return provider.list(container, selector);
}
***************
*** 117,121 ****
throws Exception {
! Logger.getLog().debug("Check if resource provider exists " + container);
return determineProviderFor(container).exists(container);
}
--- 117,121 ----
throws Exception {
! Logger.getLogger().debug("Check if resource provider exists " + container);
return determineProviderFor(container).exists(container);
}
***************
*** 134,138 ****
throws Exception {
! Logger.getLog().info("Perform Copy " + from + " -> " + to);
determineProviderFor(from, to).copy(from, to, selector);
--- 134,138 ----
throws Exception {
! Logger.getLogger().info("Perform Copy " + from + " -> " + to);
determineProviderFor(from, to).copy(from, to, selector);
***************
*** 151,155 ****
throws Exception {
! Logger.getLog().info("Perform Delete " + locator);
determineProviderFor(locator).delete(locator,selector);
--- 151,155 ----
throws Exception {
! Logger.getLogger().info("Perform Delete " + locator);
determineProviderFor(locator).delete(locator,selector);
-------------------------------------------------------
This SF.net email is sponsored by OSDN developer relations
Here's your chance to show off your extensive product knowledge
We want to know what you know. Tell us and you have a chance to win $100
http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.