Author: tchemit Date: 2008-04-06 08:17:21 +0000 (Sun, 06 Apr 2008) New Revision: 380 Modified: trunk/lutinvcs/lutinvcs-api/src/main/java/org/codelutin/vcs/VCSProvider.java Log: javadoc Modified: trunk/lutinvcs/lutinvcs-api/src/main/java/org/codelutin/vcs/VCSProvider.java =================================================================== --- trunk/lutinvcs/lutinvcs-api/src/main/java/org/codelutin/vcs/VCSProvider.java 2008-04-06 07:31:39 UTC (rev 379) +++ trunk/lutinvcs/lutinvcs-api/src/main/java/org/codelutin/vcs/VCSProvider.java 2008-04-06 08:17:21 UTC (rev 380) @@ -31,6 +31,13 @@ String getName(); /** + * init the provider. (instanciate handler) + * <p/> + * This method MUST be invoked before asking any connexion. + */ + void init(); + + /** * return a new VCSHandler instance for given config. * * @return the cached instance of handler @@ -38,15 +45,12 @@ */ H getHandler() throws IllegalStateException; - /** init the provider */ - void init(); - /** * Instanciate an new connexion for a given config, and init it. * * @param mode the mode required * @param config the config to be used - * @return the new connexion initializd <b>but not opened</b>. + * @return the new connexion initialized <b>but not opened</b>. * @throws IllegalStateException if provider was not init via {@link #init()} */ C newConnection(VCSConnexionMode mode, VCSConnexionConfig config) throws IllegalStateException;