Re: [VFS] FileSystemManager in non singleton mode?

2007-05-25 Thread Mario Ivankovits
Hi! The documentation implies I can create a File system instance without using the singleton. If you create it by manually using DefaultFileSystemManager is it the non-singleton mode? Yes. We just use a singleton with VFS.getManager(). Ciao, Mario

[beanutils] How to get PropertyUtils.getProperty to thrown a IllegalAccessException

2007-05-25 Thread Syte Beimin
I've been trying to write unit tests for a lib we've build at my work and i ran into a small problem. The method PropertyUtils.getProperty(Object object, String propertyName) can throw a IllegalAccessException. In our library we catch the exception an take appropriate action. However I can't seem

Re: [beanutils] How to get PropertyUtils.getProperty to thrown a IllegalAccessException

2007-05-25 Thread Syte Beimin
Adrian Mitev wrote: Try defining the getter method as private. That throws a NoSuchMethodException not an IllegalAccessException. 2007/5/25, Syte Beimin [EMAIL PROTECTED]: I've been trying to write unit tests for a lib we've build at my work and i ran into a small problem. The method

Re: [beanutils] How to get PropertyUtils.getProperty to thrown a IllegalAccessException

2007-05-25 Thread Adrian Mitev
Try defining the getter method as private. 2007/5/25, Syte Beimin [EMAIL PROTECTED]: I've been trying to write unit tests for a lib we've build at my work and i ran into a small problem. The method PropertyUtils.getProperty(Object object, String propertyName) can throw a

Re: [SCXML] Event types

2007-05-25 Thread Nestor Urquiza
Hi Rahul, IMHO in order to use SCXML as a WEB Controller I would say non atomic and side effect activities should be allowed within onEntry and onEntry events. This might be violating the whole Harel State theory ... I really do not knoiw ... but from a protocol perspective states are most

Re: [beanutils] How to get PropertyUtils.getProperty to thrown a IllegalAccessException

2007-05-25 Thread Niall Pemberton
On 5/25/07, Syte Beimin [EMAIL PROTECTED] wrote: I've been trying to write unit tests for a lib we've build at my work and i ran into a small problem. The method PropertyUtils.getProperty(Object object, String propertyName) can throw a IllegalAccessException. In our library we catch the

[FTP incomplete file transfer]

2007-05-25 Thread François SENEQUIER
Hi, I use a FTPClient for downloading a file existing in a directory of a FTP server (retrieveFileStream). In fact, I suppose it is a classical FTP problem but following the configuration of the FTP server, the beginning of a downloading file is possible even if the uploaded file is incomplete

Re: [Configuration] Sample usage of config change events

2007-05-25 Thread Oliver Heger
[EMAIL PROTECTED] wrote: Yes this is what I need - with the caveat that when the config is reloaded, the in-memory FileConfiguration may itself be dirty - meaning that the reload should merge the changes to the file with the changes in the in-memory FileConfiguration. Does it work this way?

Re: [SCXML] Event types

2007-05-25 Thread Rahul Akolkar
On 5/25/07, Nestor Urquiza [EMAIL PROTECTED] wrote: Hi Rahul, IMHO in order to use SCXML as a WEB Controller I would say non atomic and side effect activities should be allowed within onEntry and onEntry events. This might be violating the whole Harel State theory ... I really do not knoiw

Re: [SCXML] Event types

2007-05-25 Thread Nestor Urquiza
snip Though not all those interactions are (or should be) onentry/exit executable content. /snip I have to dissagree here. Using SCXML as a controller of a web application means that *all* business rules should be inserted where executable content is allowed. Putting business rules in java code