comment on multithreading.

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@611548 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Milos Kleint 2008-01-13 08:41:12 +00:00
parent 6e544a5643
commit fc244926ca
1 changed files with 4 additions and 0 deletions

View File

@ -48,6 +48,10 @@ public class DefaultMavenRealmManager
this.logger = logger;
}
//mkleint: the clearing is fine for sequenced operations. Even though the
// MavenRealmManager is associated with request, the paralel execution will
// eventualy fail as the ClassWorld and PlexusContainer are not meant for
// multithreaded environment.
public void clear()
{
Collection realms = new HashSet( world.getRealms() );