Re: [VFS] FileSystem close

2004-07-04 Thread Johan Lindquist
On Sun, 04 Jul 2004 08:13:24 +0200, Mario Ivankovits <[EMAIL PROTECTED]> wrote: Johan Lindquist wrote: So, something like this: FileSystemOptions fso = new FileSystemOptions(); SftpFileSystemConfigBuilder.getInstance().setUserInfo(fso, new TrustEveryoneUserInfo()); FileObject

[VFS] FileSystem close

2004-07-02 Thread Johan Lindquist
Hi, I asked about this a little while ago - when you resolve a file for a SFTP url, the SFTP file system maintains the session until the file manager is closed - the solution you propsed (see below) works well, but this will not work if I try to use this in a multi-threaded environment. File

Re: [VFS] Using sftp and vfs ...

2004-06-16 Thread Johan Lindquist
be a better option. On Wed, 16 Jun 2004 11:50:44 +0200, Mario Ivankovits <[EMAIL PROTECTED]> wrote: Johan Lindquist wrote: Would it be possible though to have a file system option that would determine if the session is to be closed if all files are detached for example? I have not

Re: [VFS] Using sftp and vfs ...

2004-06-16 Thread Johan Lindquist
is to be closed if all files are detached for example? I have not had a chance to look in detail 'under the hood' of VFS yet, so i don't know if this is possible. Thanks, Johan On Tue, 15 Jun 2004 21:21:57 +0200, Mario Ivankovits <[EMAIL PROTECTED]> wrote: Johan Lindqu

[VFS] Using sftp and vfs ...

2004-06-15 Thread Johan Lindquist
Hi, I am using the VFS library to connect to a remote SFTP server and it is working fine but it seems there is a thread hanging in the jsch libraries (assuming it is the SSH session) ... Even if I call close on the file objects the thread doesn't stop - is there another way to shut down the

Re: [HiveMind] HiveMind ideas

2004-03-04 Thread Johan Lindquist
- One of the things we need to be able to do is to choose particular service implementations at startup time, based on property or preference settings. In particular, I'd like to be able to swap out all remote services in favor of local (dummy) services based on a single property value; or choose

Re: [HiveMind] build in in Eclipse

2004-03-02 Thread Johan Lindquist
wisship.com -Original Message- From: Johan Lindquist [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 02, 2004 9:07 AM To: Jakarta Commons Developers List Subject: Re: [HiveMind] build in in Eclipse Hi, On the note of dependancies :) the library framework as it stands depends on the hivemind core

Re: [HiveMind] build in in Eclipse

2004-03-02 Thread Johan Lindquist
Hi, On the note of dependancies :) the library framework as it stands depends on the hivemind core components - would it be too early (in terms of stability, proposal etc) to submit a upload request to Ibiblio? It's not a big hassle to build and fix the maven dependancies manually but could

Re: [HiveMind] ThreadLocalStorage changes committed

2004-03-01 Thread Johan Lindquist
Harish, it's all there - with commit message and all ... :) On another note - did you ever get anywhere with the caching interceptor I mailed a while ago? Johan On Mon, 01 Mar 2004 10:41:42 -0500, Harish Krishnaswamy <[EMAIL PROTECTED]> wrote: I just committed the ThreadLocalStorage changes

Re: [HiveMind] Online?!

2004-02-26 Thread Johan Lindquist
Good to see it back! Thanks goes out to WebCT and all other involved ... :) Johan On Thu, 26 Feb 2004 09:37:12 -0500, Harish Krishnaswamy <[EMAIL PROTECTED]> wrote: Is the CVS repo' back online too? Howard, did you get a chance to look into the ThreadLocalStorage issue? -Harish Harish Kr

[hivemind] Multiple implementations for the same service ...

2003-11-10 Thread Johan Lindquist
Trying to construct a service that has many implementations but use the same interface. I can do this by putting them into different modules, but that require the service points to be defined for each one of the implementations. Ideally it would be nice to have one service point with several

Re: [hivemind] Caching interceptor

2003-11-07 Thread Johan Lindquist
See attached zip for source ... it includes a service-point-caching-interceptor.xml snippet which I currently add to the core hivemind descriptor. I guess this would be in it's own jar, but at this moment it's the way it is :) Unzip it into the hivemind tree, edit the descriptor (simply pasti

[hivemind] Caching interceptor

2003-11-07 Thread Johan Lindquist
Realise the CVS rep. is off-line, but i have a caching interceptor allowing caching of method invocation results (configurable down to a per method level) for a specified amount of time ready for review/comments/contribution. Shall i hold off for a bit while the current issues are being resolve

[HiveMind] Testing Interceptors ...

2003-10-02 Thread Johan Lindquist
A general question: What do you all consider best practices for testing interceptors? Currently involves a lot of manual testing, but would like to move to junit testing for it. Johan -- you too? - To unsubscribe, e-mail: [EM

Re: [HiveMind] extend BuildFactory to use static fields/methods

2003-10-01 Thread Johan Lindquist
ized how stupid I was. The main thing I wanted it for (the constructor thing) can be done with the static methods (maybe it's a bit less convinient). On Wed, 01 Oct 2003 15:05:53 +0200, Johan Lindquist <[EMAIL PROTECTED]> wrote: Wouldn't the configuration passed to the factory wi

Re: [HiveMind] extend BuildFactory to use static fields/methods

2003-10-01 Thread Johan Lindquist
or otherwise throw an Exception. And as you know a pattern to ensure that is to use a static-factory-method and a private (maybe protected) constructor. On Wed, 01 Oct 2003 14:29:49 +0200, Johan Lindquist <[EMAIL PROTECTED]> wrote: I may have misunderstood this - but doesn't hivemin

Re: [HiveMind] extend BuildFactory to use static fields/methods

2003-10-01 Thread Johan Lindquist
ervice (which is generated code), where accessing a static member is required. But I can of course also write a new interface and class to wrap this. --knut "Johan Lindquist" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] I may have misunderstood this - but doesn&#x

Re: [HiveMind] extend BuildFactory to use static fields/methods

2003-10-01 Thread Johan Lindquist
I may have misunderstood this - but doesn't hivemind always return the same instance when you ask for a service once it has created one (unless it is a threaded service model, when you are worried about state anyway and probably want different instances)? If so, what is the need to have a stat

Re: [HiveMind] Destroy service

2003-09-29 Thread Johan Lindquist
Definately interested in a service such as you describe - life-cycle events has been chucked around in the group for a bit and I think it would be a valueable service. Any chans of changing it [the interface] to (perhaps) 'Manageable' to allow for future 'start' events too or would it be too mu

Re: [HiveMind] Services and extensions ...

2003-09-18 Thread Johan Lindquist
module C, which supplies sqlserver implementations. In this way, you can use HiveMind as the uber-factory. -- Howard M. Lewis Ship Creator, Tapestry: Java Web Components http://jakarta.apache.org/tapestry http://jakarta.apache.org/commons/sandbox/hivemind/ http://javatapestry.blogspot.com -Origina

[HiveMind] Services and extensions ...

2003-09-18 Thread Johan Lindquist
Is it desirable to have services defined in a single module and the extensions to those services defined in a separate module? Is there a difference between the following hivemodule xml? class="hivemind.examples.impl.AdderImpl"> and

Re: [HIVEMIND] Examples Please?

2003-09-17 Thread Johan Lindquist
Realise now that the source for the xdoclet module didn't make it into the email ... Will forward it tomorrow if anyone is interested as the zip is left at work ... Johan On Wed, 17 Sep 2003 18:52:02 +0200, Johan Lindquist <[EMAIL PROTECTED]> wrote: Not sure if people have ha

Re: [HIVEMIND] Examples Please?

2003-09-17 Thread Johan Lindquist
pestry http://jakarta.apache.org/commons/sandbox/hivemind/ http://javatapestry.blogspot.com > -Original Message- > From: Johan Lindquist [mailto:[EMAIL PROTECTED] > Sent: Wednesday, September 17, 2003 12:52 PM > To: Jakarta Commons Developers List > Subject: RE: [HIVEMIND] Examples Please? >

RE: [HIVEMIND] Examples Please?

2003-09-17 Thread Johan Lindquist
Not sure if people have had enough of examples, but attached is a zip file with a simple (and probably buggy) xdoclet module for hivemind (with source) + the calculator example previously discussed implemented using it. Didn't want to inclde all the dependant jars but they are: - commons-colle

Re: [HiveMind] Roll call, please!

2003-09-12 Thread Johan Lindquist
I'll be up to help with anything needed ... :) Johan > As I've posted on the the blog, I'm gearing up to form an initial HiveMind > community. > > If you are interested in joining, please drop me an e-mail. > > Once we form up, we should be able to get everyone commit rights to the > hivemind CV

Re: [HiveMind] RE: Broken test ...

2003-09-11 Thread Johan Lindquist
On Thu, 11 Sep 2003 14:54:11 +0200, Essl Christian <[EMAIL PROTECTED]> wrote: The problem i am getting is when I try to add an interceptor to the service. The class loader used by javassist to compile the class is it's own one - javassist.ClassPool.SimpleClassLoader, not the class loader use

Re: [HiveMind] RE: Broken test ...

2003-09-11 Thread Johan Lindquist
On Thu, 11 Sep 2003 07:35:17 -0400, Howard M. Lewis Ship wrote: Please keep this discussion on the Jakarta commons developer list. The problem i am getting is when I try to add an interceptor to the service. The class loader used by javassist to compile the class is it's own one - javassist.Clas