package com.perforce.maven.scm.provider.p4.manager; import org.apache.maven.scm.ScmException; import com.perforce.maven.scm.provider.p4.repository.P4ScmProviderRepository; import com.perforce.p4java.server.IServer; public interface P4ServerManager { /** * The Plexus role. */ String ROLE = P4ServerManager.class.getName(); /** * Retrieve a cached, if any, IServer instance * @param repo * @return * @throws ScmException */ IServer getServer( P4ScmProviderRepository repo ) throws ScmException; /** * Create a IServer instance, user is responsible to disconnect it * @param repo * @return * @throws ScmException */ IServer createServer( P4ScmProviderRepository repo ) throws ScmException; }
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#1 | 10055 | Matt Attaway | Pull over numerous changes from @dantran's branch. | ||
//guest/dantran/p4maven/p4maven-provider/src/main/java/com/perforce/maven/scm/provider/p4/manager/P4ServerManager.java | |||||
#2 | 9679 | dantran |
hookup site with jacolo report. add javadoc to interfaces |
||
#1 | 9519 | dantran | folder rename to match with its artifactId | ||
//guest/dantran/p4maven/com.perforce.maven/src/main/java/com/perforce/maven/scm/provider/p4/manager/P4ServerManager.java | |||||
#2 | 9476 | dantran |
- Each managed client now has its own server to prevent concurrency - Validate managed client and server instances |
||
#1 | 9233 | dantran | initial implementation of all the needed manager to cache Iclient and Iserver instances |