Return-Path: Delivered-To: apmail-commons-user-archive@www.apache.org Received: (qmail 56967 invoked from network); 13 Jul 2008 18:42:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 13 Jul 2008 18:42:11 -0000 Received: (qmail 38575 invoked by uid 500); 13 Jul 2008 18:42:06 -0000 Delivered-To: apmail-commons-user-archive@commons.apache.org Received: (qmail 38514 invoked by uid 500); 13 Jul 2008 18:42:06 -0000 Mailing-List: contact user-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Commons Users List" Delivered-To: mailing list user@commons.apache.org Received: (qmail 38503 invoked by uid 99); 13 Jul 2008 18:42:05 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 13 Jul 2008 11:42:05 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of kleij@hotmail.com designates 65.55.116.84 as permitted sender) Received: from [65.55.116.84] (HELO blu0-omc3-s9.blu0.hotmail.com) (65.55.116.84) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 13 Jul 2008 18:41:05 +0000 Received: from BLU122-W37 ([65.55.116.74]) by blu0-omc3-s9.blu0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Sun, 13 Jul 2008 11:41:28 -0700 Message-ID: Content-Type: multipart/alternative; boundary="_3ff1c911-1b9b-442e-bc95-73f2c7630256_" X-Originating-IP: [87.65.135.164] From: Frank van der Kleij To: Subject: [VFS] How to use operations Date: Sun, 13 Jul 2008 18:41:29 +0000 Importance: Normal MIME-Version: 1.0 X-OriginalArrivalTime: 13 Jul 2008 18:41:28.0865 (UTC) FILETIME=[0FE43910:01C8E518] X-Virus-Checked: Checked by ClamAV on apache.org --_3ff1c911-1b9b-442e-bc95-73f2c7630256_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi all=2C I'm toying with my own VFS operations but I can't quite figure out how to w= ork with them. I don't see how a client of the VFS framework should use the operations=3B other than when the client has prior knowledge of the operations that exist. I wrote a beanshell script that rewrites the basic beanshell interpreter file manipulations (cd=2C pwd=2C cp=2C mv etc) to VFS manipulations. It works great and I can use my custom provider (for Documentum) without any problem within the beanshell interpreter. When I tried to add support for operations I found that it is difficult to make it generic though. I added some operations to my provider just to try=3B when I list the available operations I get a list of Classes. As a user it is quite hard to interpret this. I could try to use Reflection=2C but a user readable description of what the operation seems far away. In my view the operations only become interesting when they are usable by a generic VFS client. If the client is specific for the operations (I guess most operations are related to a provider for a particular schema) then I don't see the need to have the intermediate VFS layer=2C you can as well create a client based directly on the underlying layer. Does anyone have any experience with using the operations? Thanks=2C Frank _________________________________________________________________ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/= --_3ff1c911-1b9b-442e-bc95-73f2c7630256_--