Robert Munteanu created SLING-3074: -------------------------------------- Summary: Repository, SerializationManager - make stateful based on RepositoryInfo Key: SLING-3074 URL: https://issues.apache.org/jira/browse/SLING-3074 Project: Sling Issue Type: Bug Components: IDE Reporter: Robert Munteanu Fix For: Sling Eclipse IDE 1.0.0
Currently the Repository interface has a setRepositoryInfo method which is used to configure the repository in use. From a thread safety point of view, this is dangerous and will most likely result in problems when multiple repositories are used. The SerializationManager follows a similar pattern with the init/destroy methods. The DS components in use should rather be RepositoryFactory and SerializationManagerFactory, and implementations should invoke the factory methods on them, supplying the required arguments. Also, the SerializationManager is currently very slow since it has to mount a VaultFileSystem for each operation. Making the Repository and SerializationManager stateful will help with this. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira