*
* @return the profile source meta data.
*/
protected ProfileSourceMetaData createSource(URI[] uris, boolean isHotDeployment)
{
AbstractProfileSourceMetaData source = null;
if(isHotDeployment)
{
source = new HotDeploymentProfileSourceMetaData();
}
else
{
source = new ImmutableProfileSourceMetaData();
}
List<String> sources = new ArrayList<String>();
for(URI uri : uris)
sources.add(uri.toString());
source.setSources(sources);
return source;
}