Code Search for Developers
 
 
  

ServerConnectorFactory.java from MASE: Agile Software Engineering at Krugle


Show ServerConnectorFactory.java syntax highlighted

package ca.ucalgary.cpsc.ebe.fitClipse.connector;

public class ServerConnectorFactory {

	private static IServerConnector instance = null;
	
	public static IServerConnector getServerInstance(ServerConfiguration config) throws Exception{
		if(instance!=null){
			return instance;
		}else{
			if(config.getServerType().equals("MASE")){
				instance = new MaseSystem(config);
			}else if (config.getServerType().equals("FitNesse")){
				instance = new FitNesse(config);
			}
			return instance;
		}
	}
	
	public static void disConnect(){
		instance=null;
	}
}




See more files for this project here

MASE: Agile Software Engineering

The MASE project investigates methods to support the coordination and executable acceptance testing of software projects. Keywords: Agile methods, distributed teams, Extreme Programming. See http://ebe.cpsc.ucalgary.ca/ebe for more information.

Project homepage: http://sourceforge.net/projects/mase
Programming language(s): Java,XML
License: other

  FitNesse.java
  IServerConnector.java
  MaseSystem.java
  ServerConfiguration.java
  ServerConnectorFactory.java