String name = properties.getProperty("javax.sip.STACK_NAME"); this.sipStackByName.put(name, sipStack);
	private SipStack createStack(Properties properties)			throws PeerUnavailableException {		try {			// create parameters argument to identify constructor			Class[] paramTypes = new Class[1];			paramTypes[0] = Class.forName("java.util.Properties");			// get constructor of SipSatck in order to instantiate			Constructor sipStackConstructor = Class.forName(					getPathName() + ".javax.sip.SipStackImpl").getConstructor(					paramTypes);			// Wrap properties object in order to pass to constructor of			// SipSatck			Object[] conArgs = new Object[1];			conArgs[0] = properties;			// Creates a new instance of SipStack Class with the supplied			// properties.			SipStack  sipStack = (SipStack) sipStackConstructor.newInstance(conArgs);						sipStackList.add(sipStack);			return sipStack;		} catch (Exception e) {			String errmsg = "The Peer SIP Stack: "					+ getPathName()					+ ".javax.sip.SipStackImpl"					+ " could not be instantiated. Ensure the Path Name has been set.";			throw new PeerUnavailableException(errmsg, e);		}	}