In order to fully replace the FolderInstance we need more then just plain JNDI -
we need also its event mechanism to notify listener about changes in the
The JNDI implementation defined in issue 19903 and in issue 19904 should be
extended to implement the EventContext JNDI extension.
Fixed in [trunk]
There could happen some problems left. E.g. With removing of context
when the fileObject(folder) is removed, and there is no listeners.
I expect some changes will be necessary.