hosts = newHosts;
	protected boolean addHost(BundleLoaderProxy host) {		if (host == null) 			return false;		try {			((BundleHost) host.getBundleHost()).attachFragment(this);		} catch (BundleException be) {			framework.publishFrameworkEvent(FrameworkEvent.ERROR, host.getBundleHost(), be);			return false;		}		if (hosts == null) {			hosts = new BundleLoaderProxy[] {host};			return true;		}		for (int i = 0; i < hosts.length; i++) {			if (host.getBundleHost() == hosts[i].getBundleHost())				return true; // already a host		}		BundleLoaderProxy[] newHosts = new BundleLoaderProxy[hosts.length + 1];		System.arraycopy(hosts, 0, newHosts, 0, hosts.length);		newHosts[newHosts.length - 1] = host;		return true;	}